Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!pitt!darth!investor.pgh.pa.us!rbp From: rbp@investor.pgh.pa.us (Bob Peirce #305) Newsgroups: comp.sys.next Subject: cc -traditional problem Keywords: nawk, stdio.h, lint Message-ID: <1991Jan31.115059.12153@investor.pgh.pa.us> Date: 31 Jan 91 11:50:59 GMT Reply-To: rbp@investor.pgh.pa.us (Bob Peirce #305) Organization: Cookson, Peirce & Co., Pittsburgh, PA Lines: 15 I was moving over some scripts from the old system and in testing discovered NeXT's awk is oawk, so I decided to port nawk. It wouldn't compile so I went to the manual and discovered this might be because externs were mentioned inside functions and I probably needed the -traditional flag. When I tried that, the compiler croaked on problems with stdio.h. It didn't like the concept of const whatever. Now that seems pretty dumb. Why provide a flag that is needed but can't be used? This suggests I am missing something, but I don't know what. Do you? BTW, why is there no lint? Are the compiler messages considered to be just as good? -- Bob Peirce, Pittsburgh, PA 412-471-5320 ...!uunet!pitt!investor!rbp rbp@investor.pgh.pa.us