delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/23/02:45:10

From: Alex Vinokur <alexvn AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp,gnu.gcc.help
Subject: Preprocessor and empty lines
Date: Thu, 23 Aug 2001 09:35:49 +0200
Organization: Scopus Network Technologies
Lines: 44
Message-ID: <3B84B254.C44B8D1B@bigfoot.com>
NNTP-Posting-Host: gateway.scopus.co.il (194.90.203.161)
Mime-Version: 1.0
X-Trace: fu-berlin.de 998548568 11864479 194.90.203.161 (16 [79865])
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

===========================================
gcc version 2.95.3 20010315/djgpp (release)
Windows98
===========================================


I would like preprocessor not to insert empty lines to generated files.


Here is an example.

------ 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?

--
  =====================
  Alex Vinokur
    mailto:alexvn AT bigfoot DOT com
    http://up.to/alexvn
    http://go.to/alexv_math
  =====================


- Raw text -


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