This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12153] use of keywords in macro definitions (e.g. void in assert) can make compilation fail


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]