[PATCH] -fvisibility problems

Jaroslaw Staniek js at iidea.pl
Mon Nov 15 13:07:50 GMT 2004


> Hello!
> 
> I need the attached patch to compile kdelibs without a lot of undefined 
> symbols. I think it's pretty straightforward, isn't it?
> Unfortunately it doesn't solve the arts compile problems.
> 
> Bye,
> Gy├Ârgy
> 
> 
> ------------------------------------------------------------------------
> 
> ? kdecore/html
> ? kdecore/latex
> Index: kdecore/kdemacros.h
> ===================================================================
> RCS file: /home/kde/kdelibs/kdecore/kdemacros.h,v
> retrieving revision 1.15
> diff -u -3 -p -u -r1.15 kdemacros.h
> --- kdecore/kdemacros.h	15 Sep 2004 15:37:28 -0000	1.15
> +++ kdecore/kdemacros.h	15 Nov 2004 12:29:51 -0000
> @@ -34,7 +34,7 @@
>   * \end
>   */
>  
> -#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

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska / Kexi Team
  Developers Wanted! Kexi 0.1 Beta 5 Released: http://www.kexi-project.org
  KDElibs/Windows: http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32





More information about the kde-core-devel mailing list