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
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@ext.soprasteria.com> 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
' 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Juan :wq
Hi Juan,
I do think that list19, next … belongs to the boost mpl libraries. I even think that mpl is called fron another boost library like regex, system, ….
TIA
Jean
De : Boost-users [mailto:boost-users-bounces@lists.boost.org] De la part de Juan Ramírez
Envoyé : mardi 27 septembre 2016 16:08
À : boost-users@lists.boost.org
Objet : Re: [Boost-users] newbie !!
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
Hi! Thank you for pointing out that about next I found this page http://www.boost.org/doc/libs/1_50_0/libs/mpl/doc/tutorial/changelog-history... [1] which contains the list of changes for boost MPL library. In particular, this page http://www.boost.org/doc/libs/1_50_0/libs/mpl/doc/tutorial/iterator-protocol... [2] caught my attention because it specifies some changes in the iterator protocol which may be related to your problem: The library no longer guarantees or relies on the direct presence of advance / distance / next / prior / type members in iterator types; the following table summarises the new requirements: BeforeNow i::type deref<i>::type i::next next<i>::type i::prior prior<i>::type i::advance<n>::type advance::type i::distance<j>::type distance::type i::category i::category The text * "**The library no longer guarantees or relies on the direct presence of..."* is exactly the kind of change I meant with * "**something changed in the library that **now will force you to specify something that, until some boost version, was assumed*" I hope this gives you some insight in how to proceed. [1] http://www.boost.org/doc/libs/1_50_0/libs/mpl/doc/tutorial/changelog-history... [2] http://www.boost.org/doc/libs/1_50_0/libs/mpl/doc/tutorial/iterator-protocol... On Tue, Sep 27, 2016 at 11:27 AM, MAURICE Jean < jean.maurice@ext.soprasteria.com> wrote:
Hi Juan,
I do think that list19, next … belongs to the boost mpl libraries. I even think that mpl is called fron another boost library like regex, system, ….
TIA
Jean
*De :* Boost-users [mailto:boost-users-bounces@lists.boost.org] *De la part de* Juan Ramírez *Envoyé :* mardi 27 septembre 2016 16:08 *À :* boost-users@lists.boost.org *Objet :* Re: [Boost-users] newbie !!
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@ext.soprasteria.com> 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
' 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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
--
Juan
:wq
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Juan :wq
participants (2)
-
Juan Ramírez
-
MAURICE Jean