Re: [PATCH libcpp] Use CPP() for Wbuiltin-macro-redefined

2014-08-27 Thread Joseph S. Myers
On Sat, 23 Aug 2014, Manuel L?pez-Ib??ez wrote: > The problem with overriding the default in libcpp is fixed by setting > Init(1) in c.opt to match the default. However, it is too easy to > forget the Init(). It would be better if no Init() meant "use the > default of libcpp". This would require c

[PATCH libcpp] Use CPP() for Wbuiltin-macro-redefined

2014-08-23 Thread Manuel López-Ibáñez
Hi, The problem here is that builtin macros are marked with NO_WARN flag depending on the value of Wbuiltin-macro-redefined, but this only happens during libcpp initialization, so it doesn't work for #pragmas. It neither works when using CPP(), since the default in the c.opt file is set before lib