Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] disable generation of linemarkers by the preprocessor for sigtmp.c



Peter Stephenson <p.stephenson@xxxxxxxxxxx> writes:

> On Thu, 15 Jan 2015 09:43:37 +0100
> Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx> wrote:
>> Upcoming gcc-5 currently miscompiles zsh. The reason is that the
>> signames2.awk script doesn't handle the new linemarkers generated by
>> that compiler:
>>
>> The fix is simple. Just disable the generation of linemarkers by the
>> preprocessor.
>
> Thanks, that's fine for gcc: I'm a bit worried that the -P option isn't
> completely standard (and in any case there are some prehistoric
> preprocessors out there).

It should be pretty portable, even v7 had it.

<https://www.freebsd.org/cgi/man.cgi?query=cc&manpath=Unix+Seventh+Edition>

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



Messages sorted by: Reverse Date, Date, Thread, Author