ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/02/05/18:29:45

From: rcroman AT yoda DOT eecs DOT wsu DOT edu (Russ Croman - EECS)
Subject: Bug in CPP
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 5 Feb 92 15:23:14 PST
Status: O

Greetings!

I am new to UNIX, GPP, and email etiquette in general, so bear with me if I
overstep any boundaries...

While using GPP to compile Berkeley's SPICE3e2, I occasionally ran into a 
strange preprocessor bug.  Every so often, it would append some random (??)
characters onto the end of the preprocessed file.  I searched endlessly for 
something in the file that would cause such an output but found nothing
suspicious.

In order to get around the bug (??), I either had to change some of the 
compilation options, such as -ansi, or run the preprocessor, doctor its output
and feed this back into the compiler.

The extra characters were generally in the control-code range (i.e. \x01 to
\x2f).  There are usually only one or two of them.  Sometimes they replace
the final closing brace of the source code and sometimes they don't.

Anyone else had this problem?  Fixes?  Patches?  I hope I'm not just dreaming.

Thanks.

Russell Croman -- Washington State University -- rcroman AT yoda DOT eecs DOT wsu DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019