Subject: lib/37560: sys/cdefs_elf.h error
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <sfandino@yahoo.com>
List: netbsd-bugs
Date: 12/18/2007 11:15:00
>Number:         37560
>Category:       lib
>Synopsis:       sys/cdefs_elf.h error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 18 11:15:00 +0000 2007
>Originator:     Salvador Fandino
>Release:        4.0_RC5
>Organization:
>Environment:
NetBSD boletus.int.qindel.com 4.0_RC5 NetBSD 4.0_RC5 (SUNBLADE100) #3: Mon Dec 10 16:36:36 CET 2007 root@:/usr/src/sys/arch/sparc64/compile/SUNBLADE100 sparc64


>Description:
C header file /usr/include/sys/cdefs_elf.h fails to compile unless cdefs.h is included first:

  [salva@boletus:~/t]$ cat t.c
  #include <sys/cdefs_elf.h>

  [salva@boletus:~/t]$ gcc t.c -o t
  In file included from t.c:1:
  /usr/include/sys/cdefs_elf.h:67:20: error: missing binary operator before token "("

This causes a (harmless) compilation error on Perl 5.10


>How-To-Repeat:

>Fix: