Bug#778176: Revised gcc-5 patch for x11-xserver-utils
On 07/18/2015 10:34 PM, Julien Cristau wrote:
> On Sat, Jul 18, 2015 at 09:39:03 -0700, Daniel Schepler wrote:
>
>> On Sat, 7 Mar 2015 08:57:48 +0100, Julien Cristau wrote:
>>> I don't think that's an acceptable way to fix this.
>>
>> How about this? (This is a patch to be directly quilt imported, not a
>> debdiff.)
>
> How portable is -P? What change in gcc makes this necessary? What does
> the output without -P look like with cpp 5 vs 4.9?
hmm, maybe check it out yourself? or read
https://gcc.gnu.org/gcc-5/porting_to.html "Preprocessor issues" (linked from the
GCC 5 wiki page)?
anyway, here is another approach:
https://github.com/tsuna/boost.m4/commit/32553aaf4d5090da19aa0ec33b936982c685009f
clang seems to support -P as well. I don't know about other compilers.
Reply to: