🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50316

cpp handling of -I~

#50316
From: Thomas A Peterson
Date: Wed, 03 Nov 1993 15:09
9 lines
1036 bytes
Is there a reason why the C preprocessor does not do tilde expansion of
include directory names?

aristotle$ gcc -I~tap/ -c foo.c
foo.c:1: foo.h: No such file or directory
aristotle$ gcc -I/src/users/tap/ -c foo.c
aristotle$ echo ~tap
/src/users/tap
aristotle$ 
Technical Details
Message-ID: <TAP.93Nov3090912@aristotle.src.honeywell.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!sunmbx.netmbx.de!Germany.EU.net!mcsun!uunet!yeshua.marcam.com!news.kei.com!sol.ctr.columbia.edu!src.honeywell.com!aristotle!tap

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,82923918774f76c,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-03 08:15:54 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!sunmbx.netmbx.de!Germany.EU.net!mcsun!uunet!yeshua.marcam.com!news.kei.com!sol.ctr.columbia.edu!src.honeywell.com!aristotle!tap
From: tap@src.honeywell.com (Thomas A Peterson)
Subject: cpp handling of -I~
Message-ID: <TAP.93Nov3090912@aristotle.src.honeywell.com>
Originator: tap@aristotle.src.honeywell.com
Sender: news@src.honeywell.com (News interface)
Nntp-Posting-Host: aristotle.src.honeywell.com
Organization: Honeywell Systems & Research Center, Mpls. MN, USA.
Date: Wed, 3 Nov 1993 15:09:11 GMT
Lines: 9