freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on S


From: suzuki toshiya
Subject: Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64
Date: Fri, 04 May 2018 12:26:19 +0900
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)

Dear Alexei, Kanazawa-san and Alan,

Thank you for the info about the versions of SunPro C
supporting visibility feature.

Googling "SUNPRO_C 0x550", I found that several widely
used software, like, Xorg, pixman, glib, ICU are using
0x550 as the lowest version to enable visibility feature.

I think, although yet I have no access to older SunPro
C, doing same with other widely used software is not so
bad idea. Please let me use 0x550.

Soon I will commit my patch. In later, I will tweak
configure.raw to make CFLAGS and FT_EXPORT() consistent
always.

Regards,
mpsuzuki

Kiyoshi KANAZAWA wrote:
> Hello,
> 
> If this has been introduced to Oracle cc 12.6 (developerstudio12.6),
> "__SUNPRO_C >= 0x5150" is correct, I guess.
> 
> % cc -V
> cc: Studio 12.6 Sun C 5.15 SunOS_i386 2017/05/30
> % cat print___SUNPRO_C.c
> #include <stdio.h>
> 
> void main (void)
> {
>     printf ("__SUNPRO_C = 0x%x\n", __SUNPRO_C);
> }
> 
> % cc print___SUNPRO_C.c
> % a.out
> __SUNPRO_C = 0x5150
> 
> 
> Regards,
> 
> --- Kiyoshi
> 
> ----- Original Message -----
> From: Alexei Podtelezhnikov <address@hidden>
> To: suzuki toshiya <address@hidden>
> Cc: Alan Coopersmith <address@hidden>; Kiyoshi KANAZAWA <address@hidden>; 
> "address@hidden" <address@hidden>
> Date: 2018/5/4, Fri 11:04
> Subject: Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc 
> on Solaris x64
> 
> On Thu, May 3, 2018 at 7:50 PM, suzuki toshiya
> <address@hidden<mailto:address@hidden>> wrote:
>> I guess, latest Oracle cc may accept both of __global and
>> __attribute__((visibility)) styles, and both of --xldscope and
>> -fvisibility= styles.
> 
> This has only been introduced to Oracle cc 12.6 in 2017.
> https://docs.oracle.com/cd/E77782_01/html/E77784/gncki.html
> 
>> If so, there's any preference? If the style like GCC was
>> introduced in later (for the compatibility with GCC), using
>> GCC-unlike style would be more generic for SunPro C.
> 
> Please apply your patch with __SUNPRO_C >= 0x550.
> 
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]