https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80289
--- Comment #3 from Damien GERARD ---
Oh m(In reply to Damien GERARD from comment #0)
> From g++ 6.2 to g++ 7, defining several times the same constexpr variable
> makes gcc crash:
My mistake, it seems to be fixed in g++ 6.3 and works as expecte
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80289
--- Comment #2 from Damien GERARD ---
Seems to be a regression :)
$ /usr/bin/g++ --version
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80289
Damien GERARD changed:
What|Removed |Added
Attachment #41104|0 |1
is obsolete|
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: damien at iwi dot me
Target Milestone: ---
>From g++ 6.2 to g++ 7, defining several times the same constexpr variable makes
gcc crash:
constexpr char text1[] = "hello world&quo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79701
--- Comment #1 from Damien GERARD ---
behavior observed:
- debian 9 with gcc 6.3 & 5.4
gcc (Debian 6.3.0-7) 6.3.0 20170218
gcc-5 (Debian 5.4.1-5) 5.4.1 20170205
- CentOS 7.2 gcc 6.2 (rhel-devtoolset)
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: damien at iwi dot me
Target Milestone: ---
Hi,
It seems that `diagnostic ignored -Wcomment` has no effect.
Since nothing states that it does not work, I would expect no warning here.
Thanks :)
``