[LLVMbugs] [Bug 9620] Macro arguments fail with variadic Objective-C message

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 4 09:31:07 PDT 2011


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

Ted Kremenek <kremenek at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kremenek at apple.com
         Resolution|                            |INVALID

--- Comment #1 from Ted Kremenek <kremenek at apple.com> 2011-04-04 11:31:06 CDT ---
This is correct behavior.  Both GCC and Clang reject this code with essentially
the same error.  Preprocessing occurs before parsing, so the preprocessor sees
the commas first.  This isn't a bug in the compiler; it's a consequence of how
the C language works.

-- 
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