https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89011
--- Comment #3 from Andreas Hangauer ---
Unfortunately this is the most recent version of gcc which is available in the
mingw-w64 / msys2 toolchain. I am only able to try with an *older* gcc: However
version 5.1.0 yields the same. Sorry if this i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89011
--- Comment #1 from Andreas Hangauer ---
I just found out that using nullptr it *does* work. So it is the initialization
by integer zero that does not work.
#include
template
struct test {
int v;
};
struct dummy {
bool fcn(
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ahangauer at gmx dot net
Target Milestone: ---
The following code
template
struct test {
int v;
};
struct dummy {
bool fcn(int);
};
using TT
ed at static member template
functions
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ahangauer at