TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Mario Semo
date: 1996-01-21 11:42:14
subject: callconv.txt

Hello Peter,

On Jan 16 19:52 96, Peter Fitzsimmons of 1:259/414 wrote:

 PF> Note:  Because the VisualAge C++ library functions use the 
 PF> _Optlink convention, if you use the /Ms option, you must 
 PF> include all appropriate library header files to ensure the 
 PF> functions are called with the correct convention.

except when the headers are wrong -(

eq: imprintf.h

this header forgets the linkage of imprintf, and if you change the linkage
via commandline AND include the header, the code still fails. 


PS: the imprintf also has the bug, that they forgot to add the #pragma libary stmt. 

 WARPED!, Mario

--- Msgedsq/2 2.2e
* Origin: LC/32 Development Team-Vienna-Austria (2:310/14.11)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 310/14 1 24/999 2/777 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.