This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: PATCH: PR c++/40075: deprecated("xxx") doesn't work on function parameter


On Fri, May 8, 2009 at 4:16 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> cp_parser_parameter_declaration_list supresses deprecated("xxx") so
> that deprecated("xxx") doesn't work on function parameter in C++. This
> This patch reverts the part of
>
> http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00645.html
>
> which will make C and C++ compilers behave the same. I don't know which
> behavior is preferred.

The C++ behavior from reading http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31367.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]