This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug nptl/915] pthread.h empty initializer braces
- From: "twisti at complang dot tuwien dot ac dot at" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 May 2005 12:59:01 -0000
- Subject: [Bug nptl/915] pthread.h empty initializer braces
- References: <20050502152037.915.twisti@complang.tuwien.ac.at>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From twisti at complang dot tuwien dot ac dot at 2005-05-03 12:58 -------
Ok, the problem is -pedantic not -Wall.
$ gcc -pedantic -c test.c
test.c: In function `main':
test.c:5: warning: ISO C forbids empty initializer braces
test.c:6: warning: ISO C forbids empty initializer braces
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=915
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.