This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54895] the compiler treats '__cdecl' & '__stdcall' as the same.
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Nov 2012 19:11:12 +0000
- Subject: [Bug c++/54895] the compiler treats '__cdecl' & '__stdcall' as the same.
- Auto-submitted: auto-generated
- References: <bug-54895-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54895
--- Comment #9 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-11-22 19:11:12 UTC ---
(In reply to comment #8)
> So it works everywhere? ;)
Well, it doesn't work for all targets providing different calling-conventions
for functions. Eg functions with regparm, stdcall, etc
That the sample is architecture specific, doesn't make it there for target
specific, isn't it? ;)