[LLVMbugs] [Bug 8859] extern __inline__ causes multiple def'n errors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Dec 26 04:23:24 PST 2010


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

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-12-26 06:23:24 CST ---
Try passing -std=gnu89 to clang.  Clang and gcc both elide the function with
-std=gnu89 and both emit it with -std=gnu99.  Clang just defaults to c99
instead of c89.

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