Subject: libgroff doesn't build
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Havard Eidnes <Havard.Eidnes@runit.sintef.no>
List: netbsd-bugs
Date: 01/09/1994 16:03:48
Hi,

this error has me stumped:

===> libgroff
g++ -O -I/usr/src/gnu/usr.bin/groff/libgroff/../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DRETSIGTYPE=void -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1 -c /usr/src/gnu/usr.bin/groff/libgroff/assert.cc 
In file included from /usr/include/g++/stdio.h:71, from /usr/src/gnu/usr.bin/groff/libgroff/assert.cc:20:
/usr/include/stdio.h:274: unrecognized format specifier for `int  snprintf (char *, unsigned int, const char *, ...)'
/usr/include/stdio.h:276: unrecognized format specifier for `int  vsnprintf (char *, unsigned int, const char *, char *)'
/usr/include/stdio.h:278: unrecognized format specifier for `int  vscanf (const char *, char *)'
/usr/include/stdio.h:280: unrecognized format specifier for `int  vsscanf (const char *, const char *, char *)'
*** Error code 1

Stop.

This is with sources last SUPed Jan  8 13:43:05 +0100.  Yes, I have
reinstalled gcc2, all the includes and all the libraries.

- Havard

------------------------------------------------------------------------------