Xref: utzoo comp.lang.c:38802 comp.unix.sysv386:7490 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!helps!bigtex!james From: james@bigtex.cactus.org (James Van Artsdalen) Newsgroups: comp.lang.c,comp.unix.sysv386 Subject: Re: ANSI C/gcc1.39 question on Sys Vr4 Message-ID: <59420@bigtex.cactus.org> Date: 29 Apr 91 03:26:50 GMT References: <1991Apr21.014544.16923@swsrv1.cirr.com> Reply-To: james@bigtex.cactus.org (James Van Artsdalen) Followup-To: comp.lang.c Organization: Institute of Applied Cosmology, Austin TX Lines: 27 In <1991Apr21.014544.16923@swsrv1.cirr.com>, toma@swsrv1.cirr.com (Tom Armistead) wrote: > I have gcc 1.39 on System Vr4. It compiled with just a little > trouble, but when I compile things with, if they include anything from > /usr/include, gcc croaks on some ?ANSI? stuff in the .h files. Use the fixincludes-V4 shell script included with gcc. It will correct most of these include file bugs. > #if #machine(pdp11) > Can anybody tell me what the '#machine' is supposed to do? Nothing. It's worthless. Even fixincludes-V4 won't cure every instance of this: you may also want to edit /usr/ucbinclude and delete the crap from there too. > gcc just doesn't understand it? Is it a gcc problem? Or is it a new > ANSI thing? gcc works fine here. AT&T screwed up. Someone must have been on a stupid drug - there was no call for introducing that sort of incompatibility. -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789