[LLVMbugs] [Bug 11261] Compiler error when using "_Generic" identifier in C++ source code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 28 16:01:36 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=11261

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2011-10-28 18:01:36 CDT ---
Since _Generic is (and has always been) a reserved name, so user code that's
using this name has always been non-conforming. For that reason, and because
likely that people want to use _Generic in (say) C++ or C99 mode, I'm closing
this as "won't fix".

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



More information about the llvm-bugs mailing list