Article View: comp.unix.programmer
Article #96Re: #include file dependancies
From: Kenneth Kron
Date: Thu, 23 Jul 1992 18:22
Date: Thu, 23 Jul 1992 18:22
26 lines
987 bytes
987 bytes
How about the -E option to cc ueshiba% cc -E test.c | grep "# 1" # 1 "test.c" # 1 "./used.h" 1 ueshiba% more * :::::::::::::: notused.h :::::::::::::: #define NOTUSED :::::::::::::: test.c :::::::::::::: #ifdef DONT #include "notused.h" #endif #include "used.h" :::::::::::::: used.h :::::::::::::: #define USED --- kron@mentor.sun.com Stolen sig of the month --- 'Whatever you can do, or dream you can, begin it. Boldness has genius, power and magic in it.' - Goethe
Technical Details
Message-ID:
<l6tu6hINN7ag@jethro.Corp.Sun.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!jethro.Corp.Sun.COM!ueshiba!kronReferences:
<AJG.92Jul23132529@sp1.ccd.harris.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!jethro.Corp.Sun.COM!ueshiba!kron From: kron@ueshiba.Corp.Sun.COM (Kenneth Kron) Newsgroups: comp.unix.programmer Subject: Re: #include file dependancies Date: 23 Jul 1992 18:22:09 GMT Organization: Sun Microsystems, Inc. Lines: 28 Distribution: world Message-ID: <l6tu6hINN7ag@jethro.Corp.Sun.COM> References: <AJG.92Jul23132529@sp1.ccd.harris.com> Reply-To: kron@ueshiba.Corp.Sun.COM NNTP-Posting-Host: ueshiba.corp.sun.com