http://www.llvm.org/bugs/show_bug.cgi?id=6361
Charles Davis <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |[email protected] Component|-New Bugs |Semantic Analyzer Summary|Clang doesn't have a |Clang complains about |warning flag for warning: |redeclaring function with a |attribute declaration must |calling convention |precede definition | --- Comment #1 from Charles Davis <[email protected]> 2010-02-21 16:13:44 CST --- Like I was saying on IRC, the real bug is not that there's no flag controlling this, but that clang is warning at all. The __cdecl calling convention is the default, so clang should not be warning when a function declared without a calling convention is redeclared as cdecl (or whatever the default is). -- Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are watching all bug changes. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
