[LLVMbugs] [Bug 6361] Clang complains about redeclaring function with a calling convention

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 10 15:21:39 PDT 2010


amine48rz <amine48rz at gmail.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #3 from amine48rz <amine48rz at gmail.com> 2010-04-10 17:21:39 CDT ---
Tested with clang r100910, issue still exists.

testcase.c(2) :  warning: attribute declaration must precede definition
void __cdecl a();
testcase.c(1) :  note: previous definition is here
void a(){}

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