This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Always compile with -Wall
- To: gcc at gcc dot gnu dot org
- Subject: Always compile with -Wall
- From: Erik Mouw <J dot A dot K dot Mouw at its dot tudelft dot nl>
- Date: Wed, 3 Nov 99 21:33:00 +0100
- Organization: Eric conspiracy secret labs
Hi all,
To get the code quality of the people in my group to a higher level, I'd
like to enable -Wall for every C/C++ file compiled with gcc[1]. I think
putting it in the specs file is the right way to do it, but I'm not sure
where to put it. Could somebody more experienced shed a light on this
issue?
Erik
[1] I just *hope* that they take a look at the compiler output and don't
rest until the last warning has gone. Oh, "they" are PhD students with
somewhat peculiar coding practices ;-)
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2785859 Fax: +31-15-2781843 Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/