This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Wno-warning-directives [WasRe: cpplib: Start moving ...]
On Mon, Aug 12, 2002 at 06:03:10PM -0700, Stan Shebs wrote:
> That may be the use that you're familiar with, but that's certainly
> not required by the specification of the construct. People at Apple
> regularly use this to apprise library clients of impending change,
> perhaps something like "this will go away on 2002-10-01". If you
> have to rebuild tomorrow and your project requires -Werror, perhaps
> because it's a security component, and the replacement for the soon-
> to-be-retired API hasn't been put into the library yet, you need a way
> to suppress the message after you've determined you can't do anything
> about it today.
If the warning is added before the replacement API,
the library authors should be flogged.
r~