On Sun, Jun 16, 2013 at 10:44 AM, Stephen Kelly <[email protected]> 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 > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
