TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Peter Hansen
date: 1995-02-26 13:01:00
subject: WATCOM is ?

Sorry for the cryptic subject but I thought it might serve as a good tag
for this thread once people know what it's about...

I've just noticed that WATCOM appears to append an .HPP extension to the
name of a header file when searching the set of headers.  I recently
began using header files with names like  and .  I have a
program that does an "#include " for one of these
new headers. 
WATCOM found its own  file instead of my  file
(which came later in the path).  This, of course, led to errors.

Is this acceptable behaviour for a C++ compiler, especially when it is
(apparently) undocumented?  The docs that describe header file
processing make no mention of this substitution. 

Is there any way to disable this default .HPP extension processing?  I
can't find a documented command line option that deals with this.

Are my only options (a) put my own header files before WATCOM's in the
INCLUDE path, or (b) rename my files to have an explicit extension?

------------------------------------------------------------------------
 Peter Hansen                                     Engenuity Corporation
 Internet: peter{at}engcorp.com                    Guelph, Ontario, Canada
---
 * MR/2 * 

--- QScan v1.14b / 01-0348
* Origin: FidoNet: CRS Online, Toronto, Ontario (1:229/15)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 229/15 3615/50 229/2 12/2442 711/409 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™.