https://llvm.org/bugs/show_bug.cgi?id=26281
Bug ID: 26281 Summary: Error: too few template arguments for class template (GSL/PCH) Product: clang Version: trunk Hardware: All OS: All Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: peetluge...@yandex.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified I am getting this error on the GSL (Guidelines Support Library) when producing pch of the file span.h and then including it into any file. I reduced the file into this example: foo.h ---- namespace global { class U {}; template <typename T, typename S = U, int... P> class MyClass; template <typename T, typename S, int... P> class MyClass { }; } bar.h ---- namespace global { class W {}; template <typename T = MyClass<W>> class InstClass {}; } clang -cc1 -std=c++14 -x c++-header foo.h -emit-pch -o foo.h.pch clang -cc1 -std=c++14 -x c++-header -fsyntax-only -include-pch foo.h.pch bar.h This bug might be related to this bug (Wasn't sure because this is triggered by using precompiled headers): https://llvm.org/bugs/show_bug.cgi?id=10147 -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs