Bruce Evans <[EMAIL PROTECTED]> writes:
> The main bug is that the warning is emitted.  err(1, NULL) is perfectly
> valid (see err(4)).  Apparently the sparc64 compiler is missing support
> for __printf0like.

Strangely, my Alpha (July 3 -CURRENT) complains about this too, but my
i386 (June 24 -CURRENT) doesn't.  Here's my test program:

#include <stdio.h>

        return 0;

on Alpha, I get

des@dsa ~% gcc -Wformat -c /tmp/format.c
/tmp/format.c: In function `main':
/tmp/format.c:6: warning: null format string

on i386, I don't get a warning.

Dag-Erling Smorgrav - [EMAIL PROTECTED]

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

Reply via email to