r184005 - Suppress the c++11 -Wdeprecated warning for 'register' ifit is expanded from a
richard at metafoo.co.uk
Sun Jun 16 17:03:22 PDT 2013
On Sun, Jun 16, 2013 at 10:44 AM, Stephen Kelly <steveire at gmail.com> wrote:
> Andy Gibbs wrote:
>> On Friday, June 14, 2013 11:05 PM, Richard Smith wrote:
>>> Author: rsmith
>>> Date: Fri Jun 14 16:05:24 2013
>>> New Revision: 184005
>>> URL: http://llvm.org/viewvc/llvm-project?rev=184005&view=rev
>>> Suppress the c++11 -Wdeprecated warning for 'register' if it is expanded
>>> from a
>>> macro defined in a system header. glibc uses it in macros, apparently.
>> Not just glibc, I'm afraid. Here's the output from using python headers:
> And others:
> The third party headers may not be in a system location.
You can use -isystem or -isystem-prefix if that's the case. I've added
a -Wno-deprecated-register warning flag for this too, in r184068.
> The fix for Qt 5 will be merged in a few days:
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
More information about the cfe-commits