Re: [C++ Patch] PR 58155 - -Wliteral-suffix warns about tokens which are skipped

2014-07-08 Thread Jason Merrill
On 07/07/2014 07:20 AM, Ed Smith-Rowland wrote: OK? And for 4.9? Yes. Jason

[C++ Patch] PR 58155 - -Wliteral-suffix warns about tokens which are skipped

2014-07-07 Thread Ed Smith-Rowland
This patch addresses an old issue of warning about macro touching string literal even if the code is skipped: #define BAZ baz #if 0 barBAZ #endif Just skip the warning Wliteral-suffix if the preprocessor is skipping. Built and tested on x86_64-linux. OK? And for 4.9? Thanks, Ed