https://llvm.org/bugs/show_bug.cgi?id=24203
Richard Smith <richard-l...@metafoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |richard-l...@metafoo.co.uk Resolution|--- |INVALID --- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> --- (In reply to comment #0) > Since the program is ill-formed, I expect to get at least one > error message. Your expectation is not correct. The standard requires us to produce at least one diagnostic message, and we do. All your examples produce a warning. Also, if you want to enable clang's strictly-conforming mode, use -pedantic; our default mode enables some extensions. If you want errors (not just warnings) for all cases where a diagnostic is required, use -pedantic-errors. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs