[Quantity-devel] -Werror
Brought to you by:
berndspeiser
|
From: <ber...@t-...> - 2005-03-11 16:56:50
|
Hi, after including the new --enable-optimize flag into the autotool support for the Quantities library, I checked the compiler flags used. I find that a flag that I used to have in my old makefiles was -Werror. This makes all warnings to errors. I always thought it a good idea to get even all warnings wiped out, and possibly have cleaner code than without that flag (see also Alexandrescu and Sutter's comment: `The compiler is your friend'). There might be some reason for taking this out (e.g., some of you have some nasty problem with a warning which you may NOT be flagged as error ...), but let's discuss the various possibilities. I would vote in favor of the stricter flag, i.e. including -Werror. Regards Bernd -- ======================================================================= Bernd Speiser Institut f"ur Organische Chemie Auf der Morgenstelle 18 D-72076 T"ubingen Germany phone: +49-7071-2976205 (office) +49-7071-2976242 (laboratory) fax: +49-7071-295518 e-mail: ber...@un... Internet: http://www.uni-tuebingen.de/speiser ======================================================================= |