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: Alan Coopersmith
Subject: Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64
Date: Thu, 3 May 2018 15:20:48 -0700
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 05/ 3/18 06:24 AM, Alexei Podtelezhnikov wrote:
>> Thus, attribute visibility is only enabled for GCC >= 4.
>>
>> Comparing with configure.raw, I guess you assumed that
>> -fvisibility is GCC-specific feature?
> 
> Solaris compiler would natively need -xldscope=hidden and __global
> attribute, according to
> http://www.oracle.com/technetwork/server-storage/solaris/symbol-scope-140496.html
> -fvisibility is GNU so Solaris had better define __GNUC__. Oh well.

Solaris Studio compilers are not fully compatible with all gcc extensions,
so defining __GNUC__ would be misleading and break more than it fixes.

-- 
        -Alan Coopersmith-               address@hidden
         Oracle Solaris Engineering - https://blogs.oracle.com/alanc



reply via email to

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