Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcuhb!hpcllla!hpclisp!hpclscu!shankar From: shankar@hpclscu.HP.COM (Shankar Unni) Newsgroups: comp.sys.hp Subject: Re: Messy 'imake' output with HPUX 7.0 Message-ID: <1340124@hpclscu.HP.COM> Date: 11 Jun 90 20:04:53 GMT References: <1251@abekrd.UUCP> Organization: Hewlett-Packard Calif. Language Lab Lines: 17 > # 101 > # 108 > These line numbers correspond to '#endif' lines in the Imake.tmpl, hp.cf, > Project.tmpl, etc files. This must be a new feature of the HPUX 7.0 > /lib/cpp. Looking through the imake.c source shows that the only cpp > control sequences removed are '#line n "...' and '# n "...', which > explains why the above sequences are passed on. These are not extraneous lines. What cpp does is that it no longer puts out the filename if it has not changed since the last "# n". Makes the C compiler's scanning a lot faster. Yeah, you can either run cpp -P from within "imake", or add the *extra* pattern "# n$". (I.e. the syntax will be either '# n "filename"' or '# n') ----- Shankar Unni E-Mail: Hewlett-Packard California Language Lab. Internet: shankar@hpda.hp.com