delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/23/05:09:44

Date: Thu, 23 Aug 2001 12:07:26 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Alex Vinokur <alexvn AT bigfoot DOT com>
Message-Id: <9743-Thu23Aug2001120725+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3B84B254.C44B8D1B@bigfoot.com> (message from Alex Vinokur on
Thu, 23 Aug 2001 09:35:49 +0200)
Subject: Re: Preprocessor and empty lines
References: <3B84B254 DOT C44B8D1B AT bigfoot DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Alex Vinokur <alexvn AT bigfoot DOT com>
> Newsgroups: comp.os.msdos.djgpp,gnu.gcc.help
> Date: Thu, 23 Aug 2001 09:35:49 +0200
> 
> ------ File xxx.1 ------
> #define AAA 1
> #define BBB 2
> #define CCC 3
> ------------------------
> 
> ------ File xxx.2 ------
> #include xxx.1
> ------------------------
> 
> %gcc -P -E -x c -o xxx.3 xxx.2
> 
> ------ File xxx.3 ------
> 
> 
> 
> 
> ------------------------
> Note. File xxx.3 contains 4 empty lines.
> 
> Is there any possibility to avoid inserting empty lines in example
> above?

Try using -traditional in the switches.  If that doesn't help, either,
I'd suggest to filter out the empty lines with Sed or something.

- Raw text -


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