This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14333] [3.3 Regression] __stdcall in function declaration in structure ignored?
- From: "buytenh at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Feb 2004 21:30:09 -0000
- Subject: [Bug target/14333] [3.3 Regression] __stdcall in function declaration in structure ignored?
- References: <20040228144104.14333.buytenh@gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From buytenh at gnu dot org 2004-02-28 21:30 -------
Subject: Re: [3.3 Regression] __stdcall in function declaration in structure ignored?
Another data point.
When used in a struct initializer, only (2) seems to honor the __stdcall.
BUT, when used outside of a struct initializer all possible ways of placing
the __stdcall seem to be honored. This works just fine:
void __stdcall (*example_method)(void) = example_func;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14333