Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!diamond.bbn.com!mlandau From: mlandau@bbn.com (Matt Landau) Newsgroups: comp.unix.wizards Subject: Re: generating code to run multiple targets/configurations from single Message-ID: <12753@jade.BBN.COM> Date: 9 Apr 89 20:23:59 GMT References: <18927@adm.BRL.MIL> <10445@bloom-beacon.MIT.EDU> <13157@watdragon.waterloo.edu> Reply-To: mlandau@bbn.com (Matt Landau) Organization: BBN Systems and Technologies Corporation, Cambridge, MA Lines: 22 In comp.unix.wizards (<13157@watdragon.waterloo.edu>), Tim Bray writes: >depend on file extensions to tell us what a file is?, gotta wonder what kind >of underworked enthusiast at Sun put that inspiration in. Probably the same bozo who added the warning "Include of /usr/include/... is non-portable" every time you #include a file whose name begins with '/'. Yes, thank you, Mr. C Compiler. We know it's unportable. That's why the first step in bootstrapping our source code on a new machine is to auto-generate all those include lines correctly for the environments in use. (Yes, we have good reasons for doing that.) But thank you very much for the warning, Mr. C Compiler. Now, please tell me how to turn the goddamn thing off!! What, no compiler flag to suppress this warning? Not even in 4.0.1?? Thanks. Thanks a lot. Looks like it's time to replace /bin/cc with a shell script that pipes that compiler output through grep -v (again). *Sigh* Why don't people THINK before they implement? -- Matt Landau "Sheep are very dim." mlandau@bbn.com