[LLVMbugs] [Bug 3009] New: Bogus warning on compound literals

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 3 00:29:17 PST 2008


           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: unassignedbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu

void f(int);
void g(void) {f ((int) { 2 } ); }


/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.

More information about the llvm-bugs mailing list