Subject: __attribute__ causes build error?
To: current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@pgoyette.bdt.com>
List: current-users
Date: 04/01/1996 17:33:48
Well, I don't think I've missed anything on the list recently in terms of 
having to rebuild something before being able to do a make build, but I 
got the following from today's sup:

cc -O -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -I/home/paul/src/lib/libc/include 
-D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -DFLOATING_POINT -Werror  -c 
/home/paul/src/lib/libc/gen/getpwent.c
In file included from /home/paul/src/lib/libc/gen/getpwent.c:48:
/usr/include/syslog.h:186: unrecognized format specifier for `(null)'
*** Error code 1

Stop.

It seems like it's complaining about the following excerpt from syslog.h:

void    syslog __P((int, const char *, ...))
    __attribute__((__format__(__kprintf__,2,3)));