[LLVMbugs] [Bug 6229] Irrelevant/incorrect preprocessor defines present under -std=c89

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 8 16:07:23 PST 2010


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


Chris Lattner <clattner at apple.com> changed:

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




--- Comment #1 from Chris Lattner <clattner at apple.com>  2010-02-08 18:07:22 ---
We support long long in c89 mode as an extension:

$ clang t.c -std=c89 -c
$ clang t.c -std=c89 -c -pedantic
t.c:2:6: warning: 'long long' is an extension when C99 mode is not enabled
[-Wlong-long]
long long x;
     ^


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