This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/19526] Windows errorcodes wrong in Ada when tasking
- From: "b201 at passagen dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2005 22:45:17 -0000
- Subject: [Bug ada/19526] Windows errorcodes wrong in Ada when tasking
- References: <20050119083921.19526.b201@passagen.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From b201 at passagen dot se 2005-03-18 22:45 -------
How come not many people see this as a bug?
When a program behaves differently, just because
a totally non-related task was introduced, I
consider it a bug. I think Danny is on the right track.
As for the remark of using internal gnat-units, I do state
that I get the same result if I import WSAGetLastError myself,
in the same way gnat.sockets.this does, and that way is
the only way to go.
function Last_Error return Interfaces.c.int (or long)
pragma Import(stdcall,Last_Error,WSAGetLastError)
/Björn
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19526