Date: Sun, 20 Sep 2015 19:41:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203224] lang/gcc49: unistd.h is busted (also lang/gcc5) Message-ID: <bug-203224-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203224 Bug ID: 203224 Summary: lang/gcc49: unistd.h is busted (also lang/gcc5) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: cem@freebsd.org Assignee: gerald@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) E.g.: $ cat test.c #include <unistd.h> $ gcc49 -c test.c In file included from test.c:1:0: /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h: In function 'execl': /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:343:45: error: expected declaration specifiers before '__sentinel' int execl(const char *, const char *, ...) __sentinel; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:345:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__sentinel' int execlp(const char *, const char *, ...) __sentinel; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:392:14: error: storage class specified for parameter 'optarg' extern char *optarg; /* getopt(3) external variables */ ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:393:12: error: storage class specified for parameter 'optind' extern int optind, opterr, optopt; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:393:20: error: storage class specified for parameter 'opterr' extern int optind, opterr, optopt; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:393:28: error: storage class specified for parameter 'optopt' extern int optind, opterr, optopt; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:600:12: error: storage class specified for parameter 'optreset' extern int optreset; /* getopt(3) external variable */ ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:343:6: error: old-style parameter declarations in prototyped function definition int execl(const char *, const char *, ...) __sentinel; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:343:1: error: parameter name omitted int execl(const char *, const char *, ...) __sentinel; ^ /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd11.0/4.9.4/include-fixed/unistd.h:343:1: error: parameter name omitted test.c:1:0: error: expected '{' at end of input #include <unistd.h> ^ -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203224-13>