[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:16:00 -0700 |
User-agent: |
Mozilla/5.0 (X11; SunOS i86pc; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 05/ 3/18 06:17 AM, suzuki toshiya wrote:
>> Thus, attribute visibility is only enabled for GCC >= 4.
>
> So, challenging option is that enabling attribute-visibility-default
> for Oracle cc. Distinction between "on Solaris" and "by Oracle CC"
> is slightly complicated, but I could find something in here:
>
> https://docs.oracle.com/cd/E19205-01/820-1209/bjaii/index.html
> https://stackoverflow.com/questions/37715467/how-to-print-preprocessor-macros-under-sun-studio
>
> Maybe "__SUNPRO_C" could be used as the indicator.
Yes - the X.Org autoconf files do:
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
Reference: https://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in
And for the visibility attributes X.Org uses the ifdefs in:
https://cgit.freedesktop.org/xorg/proto/xorgproto/tree/include/X11/Xfuncproto.h#n97
(using the original annotations from the Sun compiler before the
attribute form became popularized, but you can see other attributes
in that file are handled correctly as well).
--
-Alan Coopersmith- address@hidden
Oracle Solaris Engineering - https://blogs.oracle.com/alanc
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, (continued)
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Kiyoshi KANAZAWA, 2018/05/03
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Alexei Podtelezhnikov, 2018/05/03
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64,
Alan Coopersmith <=
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Alexei Podtelezhnikov, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Kiyoshi KANAZAWA, 2018/05/03
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03
- Message not available
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/04
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Werner LEMBERG, 2018/05/04
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Alan Coopersmith, 2018/05/04
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Kiyoshi KANAZAWA, 2018/05/03
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, Alexei Podtelezhnikov, 2018/05/03
- Message not available
- Re: [ft-devel] [freetype-2.9.1] FT_Init_FreeType is missing with cc on Solaris x64, suzuki toshiya, 2018/05/03