http://llvm.org/bugs/show_bug.cgi?id=8984
Summary: inline assembly warnings are treated as errors
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
A simple test case with this unimplemented CFI directive:
$ cat inline-asm.c
asm(".cfi_adjust_cfa_offset 4\n\t");
produces this:
$ clang -c inline-asm.c
<inline asm>:1:1: error: warning: ignoring directive for now
.cfi_adjust_cfa_offset 4
^
1 error generated.
It's clearly a warning, yet clang reports it as an error. Aside from the
obvious point that someone needs to finish up CFI support, I don't think that
warnings should be reported as errors unless -Werror gets passed to the
compiler.
--
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