http://llvm.org/bugs/show_bug.cgi?id=15206
Adam Nowacki <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |[email protected] Resolution|INVALID |--- --- Comment #7 from Adam Nowacki <[email protected]> --- Reopening as I believe the bug is not INVALID. The problem here is that clang defines __GNUC__ but isn't 100% compatible with gcc. If clang pretends to be GNUC then it has to accept all flags that would be accepted by gcc. The only sane resolution I can see is to implement functionality of the missing flags or if not feasible do not promote those specific flags to errors even if -Werror is set. Again, clang is already doing the wrong thing by defining __GNUC__ (probably for compatibility reasons). For the same reasons "-Werror -fno-implicit-templates" should not produce errors. -- 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
