🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #866

cpp problem on RS6000

#866
From: ROQUE DONIZETE DE OLIVEIRA
Date: Fri, 31 Aug 1990 18:41
38 lines
1709 bytes
Does anyone know why cpp on the RS6000 doesn't like the comment lines
in the file below (xanadu is an IBM RS/6000):

xanadu% cat /tmp/t
/**/# The binaries go here
BINDIR                  = /usr/um/math/bin
/**/# The libraries go here
LIBDIR                  = /usr/um/math/lib
xanadu% 
xanadu% /lib/cpp /tmp/t /tmp/t.out
        1 |  # The binaries go here
            ..a....................
a - 1288-218: (W) Unknown preprocessing directive The.
        3 |  # The libraries go here
            ..a.....................
a - 1288-218: (W) Unknown preprocessing directive The.
xanadu% 
xanadu% cat /tmp/t.out
# 1 "/tmp/t"
BINDIR                  = /usr/um/math/bin
LIBDIR                  = /usr/um/math/lib


As you can see, it didn't like the comment lines. On other systems, like
apollos, suns or dec3100, I would get (as the output file /tmp/t.out ):

# 1 "/tmp/t"
# The binaries go here
BINDIR			= /usr/um/math/bin
# The libraries go here
LIBDIR			= /usr/um/math/lib

Does anyone know if this is a bug or how I can coerce cpp to do what I want ?
Thanks.
      
      Roque Oliveira
      oliveria@caen.engin.umich.edu
      Computer Aided Engineering Network
Technical Details
Message-ID: <1990Aug31.184126.26314@caen.engin.umich.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!caen!spam.engin.umich.edu!oliveria

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!caen!spam.engin.umich.edu!oliveria
From: oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA)
Newsgroups: comp.sys.ibm.pc.rt
Subject: cpp problem on RS6000
Keywords: cpp, RIOS
Message-ID: <1990Aug31.184126.26314@caen.engin.umich.edu>
Date: 31 Aug 90 18:41:26 GMT
Sender: news@caen.engin.umich.edu (CAEN Netnews)
Distribution: usa
Organization: The University of Michigan, Ann Arbor
Lines: 38