Created attachment 1614
proj
I get a linker error for "test.v" even though "test.q" is never used. If you remove the "test.v" member from "test.q" then the linker error no longer happens.
struct Q(_T)
{
V!(1, _T) v; // removing this fixes link error
}
Comment #1 by gyroheli — 2016-09-21T00:26:18Z
The linker being for "test.v.init", it seems it is trying to create "test.q.init" but can't as it can't find the symbol for "test.v.init". Though it shouldn't be constructing "test.q.init" anywhere, removing "-debug" from the compiler option fixes the issue.
Comment #2 by robert.schadek — 2024-12-13T18:50:11Z