Compile error with boost fusion - by Felix Petriconi

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 811306 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 12/11/2013 7:50:52 AM
Access Restriction Public


Starting with Visual Studio 2013 we are not able to compile any code that contains boost::fusion. (boost version 1.55.0)

I reduced the problem down to this simple program. Here I get a bunch of compile errors like:

boost/fusion/container/generation/make_cons.hpp(23): error C3520: 'T' : parameter pack must be expanded in this context

Going to the location, there is this code:

    namespace result_of
        template <typename Car, typename Cdr = nil_>
        struct make_cons
            typedef cons<typename detail::as_fusion_element<Car>::type, Cdr> type; <------ This is the mentioned line 23

So far it is surprising to me that the error message refers to T, even there is no T in the whole construct. The message does not help further to see, if this is a problem in the compiler or in boost.

Even with the latest Nov 2013 CTP, it produces the same error messages.
Sign in to post a comment.
Posted by Microsoft on 1/29/2014 at 3:05 PM
Thank you Felix for reporting this issue. I can confirm that it is indeed a bug in the VS2013 C++ compiler and the font end team is planning to include the fix in one of the upcoming VS2013 updates.

Leonard Mosescu.
(C++ front end team)
Posted by Felix Petriconi on 1/21/2014 at 12:58 PM
Dear Sirs,

I just installed Visual Studio 2013 Update 1, but the problem still exists. Are there any news?

Thanks and regards, Felix
Posted by Felix Petriconi on 1/7/2014 at 5:20 AM
Dear Sirs,

do you have any news on this?
This is a stopper for us, to move to Visual Studio 2013.

Thanks and regards,
Posted by Microsoft on 12/11/2013 at 9:38 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 12/11/2013 at 8:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(