home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25216 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!spool.mu.edu!yale.edu!newsserver.jvnc.net!netnews.upenn.edu!retina.anatomy.upenn.edu!joe
  2. From: joe@retina.anatomy.upenn.edu (Joe Panico)
  3. Newsgroups: comp.os.linux
  4. Subject: gnu cpp doesn't like my imake template files.
  5. Message-ID: <106279@netnews.upenn.edu>
  6. Date: 23 Jan 93 14:38:20 GMT
  7. Sender: news@netnews.upenn.edu
  8. Organization: Dept. of Neuroscience, U. of Pennsylvania
  9. Lines: 33
  10. Nntp-Posting-Host: retina.anatomy.upenn.edu
  11.  
  12.  
  13. Hi,
  14.  
  15. The imake template files (e.g. Imake.tmpl) under X in the SLS .99p2
  16. distribution begin with something like this:
  17.  
  18. #define XCOMM #
  19.  
  20.  
  21. XCOMM here are some comments
  22. XCOMM here are some comments
  23. XCOMM here are some comments
  24. .
  25. .
  26. .
  27.  
  28. trying to define a comment macro with the preprecessor. If I use the
  29. gnu cpp to process any imake template files, I get an error that says
  30. something like:
  31.  
  32. cpp: # no command follows macro identifier (or something)
  33.  
  34. It looks like the cpp insists that only cpp commands follow a naked #
  35. symbol. However, escaping the # symbol seems to solve the problem-- e.g.
  36.  
  37. #define XCOMM \#
  38.  
  39. then produces comment lines where XCOMM macro appears. Can anyone tell
  40. me why the template files that come with the system don't work for me?
  41. Any clues would be much appreciated.
  42.  
  43.         Joe Panico
  44.         joe@retina.anatomy.upenn.edu
  45.