This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/78950] New: "confused by earlier errors, bailing out" without previous errors, when having duplicate constexpr
- From: "yannick at tedworld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Dec 2016 10:48:18 +0000
- Subject: [Bug c++/78950] New: "confused by earlier errors, bailing out" without previous errors, when having duplicate constexpr
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78950
Bug ID: 78950
Summary: "confused by earlier errors, bailing out" without
previous errors, when having duplicate constexpr
Product: gcc
Version: 6.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: yannick at tedworld dot de
Target Milestone: ---
When having a duplicate constexpr no error message other than "confused by
earlier errors, bailing out" gets displayed.
Simple example:
$ cat dupconstexpr.cpp
constexpr int test = 1;
constexpr int test = 1;
$ g++ dupconstexpr.cpp
‘
dupconstexpr.cpp:2: confused by earlier errors, bailing out