[cfe-dev] clang for Windows problem in Boost.TypeTraits
Paweł Bylica
chfast at gmail.com
Thu Oct 3 04:06:40 PDT 2013
On Mon, Sep 30, 2013 at 5:29 AM, Edward Diener <
eldlistmailingz at tropicsoft.com> wrote:
> In Boost.TypeTraits this header file line:
>
> template <class R >
> yes_type is_function_ptr_tester(R (__fastcall*)( ...));
>
> gets an error message from clang in Windows of:
>
> ..\..\..\boost/type_traits/**detail/is_function_ptr_tester.**hpp:52:36:
> error: variadic function cannot use fastcall calling convention
>
Wait a minute, this header is included only if
BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION macro is defined. It is probably
some old lack of template specialization workaround. It does not compile in
VS either.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131003/46d47538/attachment.html>
More information about the cfe-dev
mailing list