|
From: SourceForge.net <no...@so...> - 2004-03-25 19:27:37
|
Bugs item #923305, was opened at 2004-03-26 06:01 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=923305&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 1 Submitted By: Justin Forest (vhex) Assigned to: Danny Smith (dannysmith) Summary: calling convention mismatch not shown in error messages Initial Comment: Error messages do not include calling convention specification, though mismatching ones can be the cause of the error. Tested with "g++.exe (GCC) 3.3.3 (mingw special)". In C mode the compiler gives a warning about "passing arg from incompatible type", while in C++ the following error message is displayed: $ g++ -Wall -c test.cc test.cc: In function `int main(int, const char**)': test.cc:16: error: invalid conversion from `DWORD (*)(void*)' to `DWORD (*)(void*)' Sample source code attached. ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2004-03-26 07:27 Message: Logged In: YES user_id=11494 Hi, This bug in diagnostic message has already been reported to GCC bugzilla, probably over a year ago. It is not mingw specific (stdcall is avail on all i386 platforms, I think). I think priority 1 is bout right for this. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=923305&group_id=2435 |