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: [PATCH libcpp] Use CPP() for Wendif-labels and other flags


On Mon, 25 Aug 2014, Manuel López-Ibáñez wrote:

> This patch is on top of https://gcc.gnu.org/ml/gcc-patches/2014-08/msg02244.html
> 
> The main issue here is Wendif-labels, since we were not using the
> correct CPP_W_* flag. The rest are straight-forward.
> 
> libcpp/ChangeLog:
> 
> 2014-08-25  Manuel López-Ibáñez  <manu@gcc.gnu.org>
> 
>     * directives.c (check_eol_1): New.
>     (check_eol_endif_labels): New.
>     (check_eol): Call check_eol_1.
>     (do_else,do_endif): Call check_eol_endif_labels.
> 
> gcc/c-family/ChangeLog:
> 
> 2014-08-25  Manuel López-Ibáñez  <manu@gcc.gnu.org>
> 
>     * c.opt (Wbuiltin-macro-redefined,Wdeprecated,Wendif-labels,
>     Winvalid-pch,Wliteral-suffix,Wmissing-include-dirs,Wtrigraphs,
>     Wundef): Use CPP, Var and Init.
>     * c-opts.c (c_common_handle_option): Do not handle the above flags here.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com

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