r184005 - Suppress the c++11 -Wdeprecated warning for 'register' ifit is expanded from a
Richard Smith
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
>>> 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:
>
> http://llvm.org/bugs/show_bug.cgi?id=16336
>
> 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:
>
> https://codereview.qt-project.org/#change,59022
>
> http://thread.gmane.org/gmane.comp.lib.qt.devel/11351/focus=11375
>
> Thanks,
>
> Steve.
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list