This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/20515] "stdcall" imports are not handled correctly
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2005 12:20:44 -0000
- Subject: [Bug ada/20515] "stdcall" imports are not handled correctly
- References: <20050317091946.20515.sbellon@sbellon.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-25 12:20 -------
The patch that was committed to fix this is wrong.
#ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES is always true. It is defined to 0 for
non-dll targets in defaults.h.
Why not make this a runtime switch as suggested earlier, rather than a
preprocessor switch?
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20515