TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: FRANOIS DE MEY
date: 1997-11-01 09:17:00
subject: Watcom underbars...

Hi people,
 I was wondering why Watcom C compiler put an underbar (_) after each name,
 and why Watcom C++ compiler don't.
 After ( if it's possible ) could sb explain me on how to prevent it,
 cuz I want to link C/C++/ASM code ( in my assembly sources I'm forced to
 write :
 if _WATCOM
  Function_      proc
 else
  Function       proc
 endif
 ...
 ...
 if _WATCOM
  Function_      endp
 else
  Function       endp
 endif
 Thx,
                        FeP
--- Blue Wave/DOS v2.30
---------------
* Origin: Programmer's Paradise -Belgium- 32-10-813088 (2:293/2009)

SOURCE: echomail via exec-pc

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