[LLVMbugs] [Bug 6361] New: Clang doesn't have a warning flag for warning: attribute declaration must precede definition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 21 02:57:24 PST 2010


http://www.llvm.org/bugs/show_bug.cgi?id=6361

           Summary: Clang doesn't have a warning flag for warning:
                    attribute declaration must precede definition
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P5
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: amine48rz at gmail.com
   Estimated Hours: 0.0


Here's a testcase : 

void a(){}
void __cdecl a();

Clang emits a warning, but there is no way to disable it.

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the llvm-bugs mailing list