Encountered a new anomole this evening compiling a piece of code with bcc. See
below:
bcc -c -I. -I. -I.. -I./.. -DNEWCONFIGLIB=\"/usr/conf/uucp\"
-DOLDCONFIGLIB=\"/usr/lib/uucp\" -O -0 -ansi addstr.c
/usr/lib/bcc/include/sys/errno.h:21.22 (from /usr/lib/bcc/include/errno.h:1) (from
addstr.c:32): error: missing '('
/usr/lib/bcc/include/sys/errno.h:21.22 (from /usr/lib/bcc/include/errno.h:1) (from
addstr.c:32): error: too few macro parameters
/usr/lib/bcc/include/sys/errno.h:21.22 (from /usr/lib/bcc/include/errno.h:1) (from
addstr.c:32): error: missing ')'
The offending line is as follows:
extern char* strerror __P ((int __errno));
Any pointers?
Thanks.
--
Regards,
Scott Dudley