Right now, if I want to ensure that a particular program compiles
with a WARNS level of no less than 3, I have to put this in the
Makefile:

        WARNS?= 3
        .if ${WARNS} < 3
        WARNS=  3
        .endif

That is somewhat cumbersome and obviously some relatively simple
changes to src/share/mk/* could make it possible to simply write:

        LOWWARNS=       3

To indicate that this program is WARNS clean _at least_ to level 3,
and always should be checked at 3 or above.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to