[Bug 895495] New: g++: /usr/include/bits/stat.h:164:31: error: expected unqualified-id before '[' token
https://bugzilla.novell.com/show_bug.cgi?id=895495 https://bugzilla.novell.com/show_bug.cgi?id=895495#c0 Summary: g++: /usr/include/bits/stat.h:164:31: error: expected unqualified-id before '[' token Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: matz@suse.com ReportedBy: suse-beta@cboltz.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- I packaged AppArmor 2.8.96 (aka 2.9 beta2) and get the following compiler error for x86_64 on openSUSE 12.3 and 13.1: [ 759s] g++ -g -O2 -pipe -Wall -Wsign-compare -Wmissing-field-initializers -Wformat-security -Wunused-parameter -std=gnu++0x -D_GNU_SOURCE -DPACKAGE=\"apparmor-parser\" -DLOCALEDIR=\"/usr/share/locale\" -DSUBDOMAIN_CONFDIR=\"/etc/apparmor\" -I../libraries/libapparmor//include -c -o parser_merge.o parser_merge.c [ 760s] In file included from /usr/include/fcntl.h:68:0, [ 760s] from network.h:22, [ 760s] from profile.h:24, [ 760s] from parser_merge.c:26: [ 760s] /usr/include/bits/stat.h:106:31: error: expected unqualified-id before '[' token [ 760s] __syscall_slong_t __unused[3]; [ 760s] ^ [ 760s] /usr/include/bits/stat.h:164:31: error: expected unqualified-id before '[' token [ 760s] __syscall_slong_t __unused[3]; [ 760s] ^ [ 760s] make: *** [parser_merge.o] Error 1 [ 760s] make: Leaving directory `/home/abuild/rpmbuild/BUILD/apparmor-2.8.96/parser' [ 760s] error: Bad exit status from /var/tmp/rpm-tmp.JvCgv5 (%build) It builds without problems for i586, and also builds fine for i586 and x86_64 on Factory. You can find the full build log etc. in security:apparmor/apparmor. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=895495
https://bugzilla.novell.com/show_bug.cgi?id=895495#c1
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=895495
https://bugzilla.novell.com/show_bug.cgi?id=895495#c2
--- Comment #2 from Richard Biener
https://bugzilla.novell.com/show_bug.cgi?id=895495
https://bugzilla.novell.com/show_bug.cgi?id=895495#c3
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=895495
https://bugzilla.novell.com/show_bug.cgi?id=895495#c4
Richard Biener
http://bugzilla.novell.com/show_bug.cgi?id=895495
--- Comment #5 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com