http://llvm.org/bugs/show_bug.cgi?id=3009
Summary: Bogus warning on compound literals
Product: clang
Version: unspecified
Platform: PC
OS/Version: NetBSD
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
void f(int);
void g(void) {f ((int) { 2 } ); }
produces
/tmp/foo.c:2:24: warning: braces around scalar initializer
void g(void) {f ((int) { 2 } ); }
^~~~~
1 diagnostic generated.
--
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