Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!horga!reswi!jodokus!ralf From: ralf@reswi.ruhr.de (Ralf E. Stranzenbach) Newsgroups: comp.sys.next Subject: Re: CC Bug discovered ? Message-ID: <1991Jun27.202808.20420@reswi.ruhr.de> Date: 27 Jun 91 20:28:08 GMT References: <1991Jun27.014104.17845@reswi.ruhr.de> <1991Jun27.053909.9592@kithrup.COM> Organization: Private/FRG Lines: 25 sef@kithrup.COM (Sean Eric Fagan) writes: >In article <1991Jun27.014104.17845@reswi.ruhr.de> ralf@reswi.ruhr.de (Ralf E. Stranzenbach) writes: >>It's late, but it seems that I discovered a cc bug. >Very unlikely. >>If I replace defined(BSD) >>with defined(NeXT), everything works OK. Is this a CC / CPP bug or >>simply an error in the NeXT documentation ? >Well, it would indicate to me, with about, oh, less than a second's worth of >thought, that BSD is not defined by the system compiler. If the >documentation says it is, and it isn't, then that is an error in the >documentation. If you do a 'cc -v ', and there is a '-DBSD' >somewhere on the line shown for cpp, then, and only then, would I say that >it is a compiler (actually preprocessor) bug. If the documentation say it is defined AND the system looks like bsd the compiler should have the BSD Symbol defined. If it's undefined IT IS A BUG. Ralf -- Ralf E.Stranzenbach - ralf@reswi.ruhr.de - Fido: via 2:241/5800.12