[PATCH] -fvisibility problems
Szombathelyi György
gyurco at freemail.hu
Mon Nov 15 13:30:47 GMT 2004
Jaroslaw Staniek wrote:
>>
>> -#if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 > 4)
>> +#if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 > 3)
>> /* Visibility is available for GCC newer than 3.4.
>> * See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9283 */
>
>
> Is visibility ok now on gcc 3.3? Can anybody confirm this? If so, maybe
> there should be a (configure?) test for availability, I think your patch
> does not solve the problem for every gcc 3.4.x release can be found in
> distros?
>
> see "its not implemented in 3.3. or current 3.4 "
> comment on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9283
>
greater than 3 means 4 at least, not (in my patch)?
I don't know about early gcc 3.4, but the version is shipped with Fedore
Core3 (3.4.2) does support -fvisiblity. Maybe it would be nice to put a
HAVE_FVISIBLITY or similar #define into acinlude.m4.in and couple it
with the -fvisibility test, instead of relying on the compiler version?
Bye,
György
More information about the kde-core-devel
mailing list