On Tue, Jun 4, 2024 at 7:54 AM Jason Merrill wrote:
>
> On 3/14/24 04:01, Ken Matsui wrote:
> > On Sat, Mar 2, 2024 at 5:04 AM Ken Matsui wrote:
> >>
> >> This patch adds a warning switch for "#pragma once in main file". The
> >> warning option name is Wpragma-once-outside-header, which is the s
On 3/14/24 04:01, Ken Matsui wrote:
On Sat, Mar 2, 2024 at 5:04 AM Ken Matsui wrote:
This patch adds a warning switch for "#pragma once in main file". The
warning option name is Wpragma-once-outside-header, which is the same
as Clang.
Ping.
PR preprocessor/89808
gcc/c-family/Ch
On Thu, Mar 14, 2024 at 1:01 AM Ken Matsui wrote:
>
> On Sat, Mar 2, 2024 at 5:04 AM Ken Matsui wrote:
> >
> > This patch adds a warning switch for "#pragma once in main file". The
> > warning option name is Wpragma-once-outside-header, which is the same
> > as Clang.
>
> Ping.
Ping. Ok for tr
On Sat, Mar 2, 2024 at 5:04 AM Ken Matsui wrote:
>
> This patch adds a warning switch for "#pragma once in main file". The
> warning option name is Wpragma-once-outside-header, which is the same
> as Clang.
Ping.
>
> PR preprocessor/89808
>
> gcc/c-family/ChangeLog:
>
> * c-opts
This patch adds a warning switch for "#pragma once in main file". The
warning option name is Wpragma-once-outside-header, which is the same
as Clang.
PR preprocessor/89808
gcc/c-family/ChangeLog:
* c-opts.cc (c_common_handle_option): Handle
OPT_Wpragma_once_outside_heade