Subject: lib/2836: errno.h can't be compiled -traditional
To: None <>
From: John F. Woods <>
List: netbsd-bugs
Date: 10/11/1996 21:55:59
>Number:         2836
>Category:       lib
>Synopsis:       errno.h can't be compiled -traditional
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 11 19:05:00 1996
>Originator:     John F. Woods
>Release:        1.2_BETA
System: NetBSD 1.2 NetBSD 1.2 (JFW) #2: Tue Oct 1 00:30:36 EDT 1996 i386

	errno.h cannot be used with gcc -traditional because it uses const.

	echo '#include <errno.h>' > /tmp/t.c ;  gcc -traditional /tmp/t.c

	Other header files include <sys/cdefs.h> to paper over this.  I don't
know if this is appropriate for errno.h, however.