Boost logo

Boost Users :

Subject: Re: [Boost-users] newbie !!
From: Juan Ramírez (jramirez.uy_at_[hidden])
Date: 2016-09-27 10:07:48


From

  list20.hpp(164): error C3203: 'list19' : unspecialized class template
can't be used as a template argument for template parameter 'Next',
expected a real type

It looks like *Next* is not a class

Can you provide more information about your implementation? How is list19
being used?

I am not familiar with boost mpl but it seems that something changed in the
library that now will force you to specify something that, until some boost
version, was assumed.

On Tue, Sep 27, 2016 at 4:30 AM, MAURICE Jean <
jean.maurice_at_[hidden]> wrote:

> Hi,
>
>
>
> This is my second ‘account’ to this mailing list. In fact I am a freelance
> who works for a company that works for another company and when I am
> somewhere I can’t have access to the ‘elsewhere’ outlook.
>
>
>
> I am an old C++ (and FORTRAN and Visual Foxpro) programmer. But I am new
> to boost, windows (MFC) and Visual Studio 2010. My challenge is to
> ‘upgrade’ a huge app (250 k lines of code) both Windows and Linux from
> boost 1.3.x (and stingray and …..) to boost 1.50 and win 7 … Boost 1.50 is
> the last version our customer can use because of its ‘private’ version of
> Debian.
>
>
>
> I am first dealing with windows. When I compile the solution, I get a lot
> of errors and I would like you give me the first steps to do.
>
>
>
> Here is an example about file …\boost\boost15\boost_1_50_0\
> boost/mpl/list/aux_/preprocessed/plain/list20.hpp
>
>
>
> list20.hpp(157): error C2143: syntax error : missing ',' before 'string'
>
> list20.hpp(163): error C2974: 'boost::mpl::list19' : invalid template
> argument for 'T18', type expected
>
> list20.hpp(144) : see declaration of 'boost::mpl::list19'
>
> list20.hpp(167) : see reference to class template instantiation
> 'boost::mpl::list20<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,
> T12,T13,T14,T15,T16,T17,T18,__formal>' being compiled
>
> list20.hpp(164): error C3203: 'list19' : unspecialized class template
> can't be used as a template argument for template parameter 'Next',
> expected a real type
>
> list20.hpp(164): error C2955: 'boost::mpl::list19' : use of class
> template requires template argument list
>
> list20.hpp(144) : see declaration of 'boost::mpl::list19'
>
> list20.hpp(165): error C2955: 'boost::mpl::l_item' : use of class
> template requires template argument list
>
>
>
> So if you can explain me what is wrong (I mean I am astonished (?) to find
> a syntax error and I think I must not modify the file so the error may come
> from elsewhere …)
>
>
>
> TIA
>
> Jean
>
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Juan
:wq


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net