Bob Friesenhahn via illumos-discuss <[email protected]> wrote:

> On Sun, 8 Feb 2015, Apostolos Syropoulos via illumos-discuss wrote:
>
> > Excuse me for asking but what is wrong with the GNU cpp?
> > Is there any reason one has to reinvent the wheel?
>
> It is GPLed code (different than Illumos) and may make assumptions 
> that Illumos cpp does not.  It is good if Illumos provides its own 
> cpp, which is under its control.

I created this cpp not because iof the license but because of the fact that a 
lot of applications need the output from the K&R cpp. Note that ANSI-C made a 
big mistake when defining that cpp should replace newlines by spaces. This
makes it impossible to use the ansi cpp for something that results in files to 
give avway with decent formatting.

Another specific of the Sun cpp is that it creates special comments that help 
parsers to understand where a return from a previous #include takes place. 
Dtrace e.g. needs this. This specicic output was not was originally not created 
by the K&R cpp code from Mr. Reiser. I had to add it.

Jörg

-- 
 EMail:[email protected]                    (home) Jörg Schilling D-13353 Berlin
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ 
http://sourceforge.net/projects/schilytools/files/'


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to