www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/14/15:07:38

From: jazz AT opennt DOT com (Jason Zions)
Subject: RE: errors in function return-values with __stdcall
14 Mar 1998 15:07:38 -0800 :
Message-ID: <73B9731F33B9D111BBDB00A024917BE30911.cygnus.gnu-win32@bebop.fc.opennt.com>
Mime-Version: 1.0
To: "'Teun Burgers'" <burgers AT ecn DOT nl>, gnu-win32 AT cygnus DOT com

> I think I found a problem when using __stdcall. In some cases function
> returning double or float return the wrong values (printf prints
> -1.#IND).  Within the function the return values are OK.  Double and
> float arguments are passed correctly to functions.
> 
I always thought one couldn't use the __stdcall calling convention with
functions which take a variable number of arguments, like printf...

Jason

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019