[LLVMbugs] [Bug 3546] Redefinition of typedef doesn' t print previously definition in some cases.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 11 22:21:43 PST 2009


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


Chris Lattner <clattner at apple.com> changed:

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




--- Comment #1 from Chris Lattner <clattner at apple.com>  2009-02-12 00:21:42 ---
This is correct behavior.  When you #include with a full path
"/usr/include/stdio.h", neither clang nor gcc consider the file to be in a
system header directory.  This is an extwarn that is silenced in system
headers, so without that "bit" on the file, the warning gets emitted and mapped
to an error.


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