[Bug ada/19526] Windows errorcodes wrong in Ada when tasking

b201 at passagen dot se gcc-bugzilla@gcc.gnu.org
Fri Mar 18 22:45:00 GMT 2005


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



More information about the Gcc-bugs mailing list