http://llvm.org/bugs/show_bug.cgi?id=13705
Aaron Ballman <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |WONTFIX --- Comment #1 from Aaron Ballman <[email protected]> 2012-08-27 18:03:54 CDT --- This appears to be working by design. The duplicate specifier is allowed in C99 as well as C++11 (unless it appears as a type specifier). This is declaring a type specifier, so the only time the warning should not appear is when compiling as C99 or above. So if you specify -std=c89 along with -pedantic, or compile as C++ (including C++11) along with -pedantic, you will see the warning. But if you specify -std=c99 and -pedantic, you will not see the warning. -- 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. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
