This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18078] New: Contradicting function attributes (cdecl vs stdcall)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Oct 2004 13:54:45 -0000
- Subject: [Bug target/18078] New: Contradicting function attributes (cdecl vs stdcall)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
/* contradicting - should be an error */
static
__attribute__((cdecl))
__attribute__((stdcall))
int test_cdecl_03(int r) { return r << 3; }
/* contradicting - should be an error */
static
__attribute__((stdcall))
__attribute__((cdecl))
int test_cdecl_04(int r) { return r << 4; }
--
Summary: Contradicting function attributes (cdecl vs stdcall)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18078