glob2-devel
[Top][All Lists]
Advanced

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

[glob2-devel] Lack of -Wall and bugs


From: Stéphane Magnenat
Subject: [glob2-devel] Lack of -Wall and bugs
Date: Sun, 3 May 2009 17:36:31 +0200
User-agent: KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; x86_64; ; )

Hi everybody,

At some point someone removed the -Wall from the SConstruct. This is bad 
because it prevents the compiler from displaying informative warning about 
potential bugs, such as "control reaches end of non-void function". Indeed, 
I've run glob2 under valgrind and there is various "uninitialized variables" 
bugs around. I've put back the -Wall in the SConstruct. If you see a warning 
that you do not like, fix it, do not remove the compiler switch.

Do not kill the messenger,

Have a nice day,

Steph

-- 
http://stephane.magnenat.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]