|
Boost Users : |
Subject: [Boost-users] Fwd: Compile error using BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
From: Fernando Gomes da Silva (fernandogs1989_at_[hidden])
Date: 2013-06-03 10:01:55
Em quarta-feira, 29 de maio de 2013 17h11min09s UTC-3, Fernando Gomes da
Silva escreveu:
>
> I'm having trouble setting the max template parameters for Boost Fusion
> Tuples.
>
> I've read the source code and found that I can set
> BOOST_FUSION_DONT_USE_PREPROCESSED_FILES and set FUSION_MAX_VECTOR_SIZE to
> the given number.
>
> Using MSVC 2012 and using a value of 51, I get the following error:
>
> \boost_1_53_0\boost\fusion\container\vector\detail\vector_n_chooser.hpp(65):
> error C2143: syntax error : missing ';' before '<'
> \boost_1_53_0\boost\fusion\container\vector\detail\vector_n_chooser.hpp(66)
> : see reference to class template instantiation
> 'boost::fusion::detail::vector_n_chooser<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41,T42,T43,T44,T45,T46,T47,T48,T49,T50>'
> being compiled
> \boost_1_53_0\boost\fusion\container\vector\detail\vector_n_chooser.hpp(65):
> error C4430: missing type specifier - int assumed. Note: C++ does not
> support default-int
> \boost_1_53_0\boost\fusion\container\vector\detail\vector_n_chooser.hpp(65):
> error C2238: unexpected token(s) preceding ';'
>
> Thank you for any inputs!
>
> Fernando
>
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