rnk added a comment. The issue was related to ignored calling convention attributes on Win64:
int a(int, const int *, int, int, __int64); class b { public: typedef int c; }; template <class d, class e, typename e::c(__stdcall f)(int, const int *, int, int, __int64)> void AtlAxDialogCreateT(int, d, int, int, __int64); int g, i, j, k; char *h; void l() { AtlAxDialogCreateT<char *, b, a>(g, h, i, j, k); } Compiled with: clang -c -fms-extensions -fms-compatibility --target=x86_64-windows-msvc Repository: rC Clang https://reviews.llvm.org/D50526 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits