Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!unido!horga!reswi!jodokus!ralf From: ralf@reswi.ruhr.de (Ralf E. Stranzenbach) Newsgroups: comp.sys.next Subject: CC Bug discovered ? Message-ID: <1991Jun27.014104.17845@reswi.ruhr.de> Date: 27 Jun 91 01:41:04 GMT Distribution: comp Organization: Private/FRG Lines: 17 It's late, but it seems that I discovered a cc bug. One of my source files contained a line as follows: # if defined(OSK) || defined(BSD) # define DIRENT struct direct # else # define DIRENT struct dirent # endif But surprisingly this did NOT compile right. 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 ? Ralf -- Ralf E.Stranzenbach - ralf@reswi.ruhr.de - Fido: via 2:241/5800.12