Opened 6 years ago

Last modified 5 years ago

#12816 new Support Requests

error using with WinRT

Reported by: tomáš hering <hering.t@…> Owned by: Peder Holt
Milestone: To Be Determined Component: typeof
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:

Description

Hello, I have a problem compiling the file "msvc/typeof_impl.hpp" when using it in Visual Studio 2015 as part of a Universal Windows App based on C++/WinRT projection (moderncpp.com). I'm stuck on the line no. 103, which also includes "VC8.0 specific bugfeature" comment. The project is otherwise functional, it is one of the samples published with C++/WinRT projection headers.

Thank you for your time and effort.

tom

Change History (4)

comment:1 by tomáš hering <hering.t@…>, 6 years ago

Summary: error usingerror using with WinRT

Sorry, I forgot to insert the compiler error output:
1>D:\dt\boost_1.63.0\boost/typeof/msvc/typeof_impl.hpp(103): error C2143: syntax error: missing ';' before '<'
1>D:\dt\boost_1.63.0\boost/typeof/msvc/typeof_impl.hpp(103): error C2913: explicit specialization; 'boost::type_of::msvc_extract_type<ID,boost::type_of::msvc_extract_type_default_param>::id2type_impl' is not a specialization of a class template
1>D:\dt\boost_1.63.0\boost/typeof/msvc/typeof_impl.hpp(103): error C2059: syntax error: '<'
1>D:\dt\boost_1.63.0\boost/typeof/msvc/typeof_impl.hpp(104): error C2334: unexpected token(s) preceding '{'; skipping apparent function body

comment:1 by tomáš hering <hering.t@…>, 6 years ago

Summary: error usingerror using with WinRT

Sorry, I forgot to insert the compiler error output:
1>D:\dt\boost_1.63.0\boost/typeof/msvc/typeof_impl.hpp(103): error C2143: syntax error: missing ';' before '<'
1>D:\dt\boost_1.63.0\boost/typeof/msvc/typeof_impl.hpp(103): error C2913: explicit specialization; 'boost::type_of::msvc_extract_type<ID,boost::type_of::msvc_extract_type_default_param>::id2type_impl' is not a specialization of a class template
1>D:\dt\boost_1.63.0\boost/typeof/msvc/typeof_impl.hpp(103): error C2059: syntax error: '<'
1>D:\dt\boost_1.63.0\boost/typeof/msvc/typeof_impl.hpp(104): error C2334: unexpected token(s) preceding '{'; skipping apparent function body

comment:2 by anonymous, 5 years ago

Have you solved the problem?

comment:3 by artabalt@…, 5 years ago

Same problem with mvsc2017 and boost 1.64

Note: See TracTickets for help on using tickets.