[Bug 3067] include/sys/mount.h enum final value has unwanted comma

bugzilla at busybox.net bugzilla at busybox.net
Tue Feb 1 10:53:25 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3067

--- Comment #2 from Will Moore <will.moore at beran.co.uk>  ---
I am using buildroot-2010.11 built gcc 4.3.5.
I have set gcc -pedantic -pedantic-errors -Wall -Werror for belt and braces.
I believe it is the -pedantic-errors that catches the issue here.
The error reported is:

Building file: ../main.c
Invoking: GCC C Compiler
i486-linux-gcc -I/home/apmdev/dx/buildroot-2010.11/output/staging/usr/include
-O0 -g3 -pedantic -pedantic-errors -Wall -Werror -c -fmessage-length=0
-Wno-long-long -MMD -MP -MF"main.d" -MT"main.d" -o"main.o" "../main.c"
In file included from ../main.c:11:
/home/apmdev/dx/buildroot-2010.11/output/staging/usr/include/sys/mount.h:60:
error: comma at end of enumerator list
make: *** [main.o] Error 1

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list