https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95301
--- Comment #3 from Jonathan Wakely ---
Reduced:
template
struct range {
int start;
int limit;
range():
start(1, limit(2) // missing ) after 1
{ }
};
template
struct _no_inline_box_init : T {};
Which gives:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95301
--- Comment #2 from Jonathan Wakely ---
(In reply to Wouter van Ooijen from comment #0)
> This code emits an excessive amount of error messages, which seem to repeat.
It looks like it, but actually it's about a different template each time,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95301
--- Comment #1 from Jonathan Wakely ---
95301.cc:1:24: error: 'int_fast64_t' does not name a type
1 | template< typename T = int_fast64_t, T zero = 0 >
|^~~~
95301.cc:14:10: error: explicit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95301
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
Last