[PATCH] -fvisibility problems

Richard Smith kde at metafoo.co.uk
Mon Nov 15 14:11:57 GMT 2004


On Monday 15 November 2004 13:30, Szombathelyi György wrote:
> 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.

I've got g++ 3.4.2 from debian, and it does not support -fvisibility. I notice 
that in that bug report a separate commit was made to gcc-3_4-rhl-branch. 
Maybe it was backported for Red Hat only? ;-)
-- 
Thanks,
Richard




More information about the kde-core-devel mailing list