svn commit: r201227 - in head: sbin/comcontrol sbin/mount sbin/mount_msdosfs sbin/mount_nullfs sbin/rcorder usr.bin/find usr.bin/gencat usr.bin/mklocale usr.sbin/config usr.sbin/cpucontrol usr.sbin...

Ed Schouten ed at 80386.nl
Wed Dec 30 06:22:38 UTC 2009


Hi Gabor,

* Gabor Kovesdan <gabor at FreeBSD.org> wrote:
> I wonder if it would be worth to invent a WARNS=7 level, which would
> be WARNS=6 + ANSI. Although ANSI-conformance isn't a -Wfoo flag,
> which is WARNS for but conforming ANSI means a higher level
> cleannes, which is demanded, so I think it wouldn't really
> contradict to the semantics of WARNS.

So far I've been using -Wold-style-definition, which I've been using
make these changes. I am planning on just adding that to WARNS=6,
considering that almost all the code at WARNS=6 builds with this flag
enabled now.

I'd rather not add a WARNS=7, because then I'm afraid almost nobody will
know about its existence, causing it to be mostly ignored. In an ideal
world, I think we should get rid of WARNS. We could just enable all -W
flags by default, except -Werror. That way people would be invited to
fix the warnings over time.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20091230/4c72ea85/attachment.pgp


More information about the svn-src-head mailing list