Re: [PATCH] fix single argument static_assert

2024-08-22 Thread Alexander Monakov
On Thu, 22 Aug 2024, Marc Poulhiès wrote: > Single argument static_assert is C++17 only. > > libcpp/ChangeLog: > > * lex.cc: fix static_assert to use 2 arguments. When pushing, please fix the entry to mention the function name if that's not too much trouble: * lex.cc (search_line

[PATCH] fix single argument static_assert

2024-08-22 Thread Marc Poulhiès
Single argument static_assert is C++17 only. libcpp/ChangeLog: * lex.cc: fix static_assert to use 2 arguments. --- OK for master? libcpp/lex.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpp/lex.cc b/libcpp/lex.cc index daf2c770bc3..402a2e42f46 100644 --- a/l

Re: [PATCH] fix single argument static_assert

2024-05-02 Thread Jakub Jelinek
On Thu, May 02, 2024 at 12:28:29PM +0200, Marc Poulhiès wrote: > Single argument static_assert is C++17 only. > > gcc/ChangeLog: > > * value-range.h: fix static_assert to use 2 arguments. > --- > > Ok for master? Yes. Jakub

[PATCH] fix single argument static_assert

2024-05-02 Thread Marc Poulhiès
Single argument static_assert is C++17 only. gcc/ChangeLog: * value-range.h: fix static_assert to use 2 arguments. --- Ok for master? gcc/value-range.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/value-range.h b/gcc/value-range.h index f1c638f8cd0..934eec9e3