This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: backward -> deprecated
Benjamin Kosnik wrote:-
> Hey Neil, thanks for getting back to me. Hopefully what I'm trying to do
> is clear now.
>
> Ok. Can I go ahead and check these patches in?
Sorry, I didn't realise you were waiting for approval of something from me.
The cppdefault.c stuff is fine - you probably understand that as well as I
do. I'm not the one to ask for the rest.
> Ok. I also realized that _GXX_DEPRECATED should just be __DEPRECATED,
> because -Wno-deprecated isn't a C++ flag. Other than that, and the fact
> that
>
> backward_warning.h
>
> can just
>
> #ifndef already_seen
> #define already_seen 1
> do-warning-stuff
> #endif
>
> or whatever
>
> and have the warning appear only once per translation unit, is this the
> shape that the patch should take? Should I check it in (with those mods)?
Yes, that's what I had in mind. Sounds good to me.
Neil.