[cfe-dev] I'd like to disable the warning for deprecated functions

Erik Pilkington via cfe-dev cfe-dev at lists.llvm.org
Tue Jul 18 09:58:46 PDT 2017


-Wno-deprecated-declarations is probably what you're looking for. 
-Wdeprecated-implementations is only for objective-c @implementations.

Erik


On 7/18/17 9:33 AM, David Barto via cfe-dev wrote:
> on the command line.
>
> 	-Wno-deprecated-implementations
>
> doesn’t appear to do it. I don’t want to litter the code with push/pop diagnostics as the code is compiled with GCC as well.
>
> Any hints?
>
> 	David
>
>
> David Barto
> barto at cambridgesemantics.com
>
> Sometimes, my best code does nothing. Most of the rest of it has bugs.
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list