r184005 - Suppress the c++11 -Wdeprecated warning for 'register' ifit is expanded from a

Stephen Kelly steveire at gmail.com
Sun Jun 16 10:44:05 PDT 2013

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
>> Log:
>> 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.

The fix for Qt 5 will be merged in a few days:





More information about the cfe-commits mailing list