This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14333] [3.3 Regression] __stdcall in function declaration in structure ignored?


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]