This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12153] use of keywords in macro definitions (e.g. void in assert) can make compilation fail
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 22 Oct 2010 14:34:33 +0000
- Subject: [Bug libc/12153] use of keywords in macro definitions (e.g. void in assert) can make compilation fail
- Auto-submitted: auto-generated
- References: <bug-12153-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12153
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2010-10-22 14:34:25 UTC ---
I think this is generally considered to be a bug in the C standard. Given
the explicit definition in the standard of how assert should be defined
under NDEBUG it seems fairly clear that committee has never explicitly
intended such usages to work; it's simply been so obviously a bug that
no-one has felt the need to spend their time explicitly affirming that.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.