Re: Question about GNU cpp -P

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> I am using:
>>
>>	cpp -C -P -nostdinc -std=c99 -Werror
>>
>> to process something that is not C. Everything works, except that one
>> side effect of "-P" is that consecutive newlines are compressed into one.
>>
>> Is this intentional? Why? Is there a way to avoid collapsing consecutive
>> newlines when using "cpp -P"?

> With -P, when line directives aren't emitted, it seems reasonable to
> expect the preprocessor to preserve the newlines. I suggest to open
> a bug in Bugzilla for this.

I just submitted a Bugzilla report, available at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67266.

-- 
Mike

:wq



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux