Re: GNOME_COMPILE_WARNINGS() not doing good.



On Thursday 17 January 2002 17:42, Owen Taylor wrote:
>
> Anyways, it would be very much good if someone would take on the
> task of fixing up all the packages so they compile with -Wall
> by default.
>

Just a note:
Please be careful that you do not make it impossible to compile the packages 
on some systems.
I had the following problem on a system with glibc-2.2.2(SuSE): (SuSE 6.4 
with a glibc update)
I got a lot of compiler warnings from a system header using some highly magic 
optimasion tricks (/usr/include/bits/string2.h), all wraped with 
__extension__, but this gives warnings even if it is protected by 
__extension__ when compiled with -Wpointer-arith!

So i had to use
export CFLAGS='-Wno-pointer-arith'
to silence these Warnings and to compile the packages.

I might add that I was using cvs head versions of the gnome packages.


I didn't furter investigate this issue because it now works for me, but this 
isn't the type of stuff an normal user should have to care about.


regards,
	martin h.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]