I'm trying to build the auto_index tool using msvc-14 and I'm getting this error: compile-c-c++ ..\..\..\bin.v2\tools\auto_index\build\msvc-14.0\release\link-static\threading-multi\file_scanning.obj file_scanning.cpp ..\..\..\boost/range/concepts.hpp(184): error C2143: syntax error: missing ';' before '<' ..\..\..\boost/range/concepts.hpp(209): note: see reference to class template instantiation 'boost::range_detail::ForwardIteratorConcept<Iterator>' being compiled ..\..\..\boost/range/concepts.hpp(184): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ..\..\..\boost/range/concepts.hpp(184): error C2238: unexpected token(s) preceding ';' Any ideas? -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
Rene Rivera-2 wrote
I'm trying to build the auto_index tool using msvc-14 and I'm getting this error:
[...] ..\..\..\boost/range/concepts.hpp(184): error C2143: syntax error: missing ';' before '<' [...]
Any ideas?
If that's the master branch, the reason could be that commit 9bf860fd30509b5c4ce6ce6b991cd6fe26e39ab7 hasn't been merged to master yet. This file is using boost::detail::iterator_traits without including the header. -- View this message in context: http://boost.2283326.n4.nabble.com/range-range-concepts-hpp-errors-tp4683670... Sent from the Boost - Dev mailing list archive at Nabble.com.
On 19 February 2016 at 16:07, Rene Rivera
I'm trying to build the auto_index tool using msvc-14 and I'm getting this error:
'boost::range_detail::ForwardIteratorConcept<Iterator>' being compiled ..\..\..\boost/range/concepts.hpp(184): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ..\..\..\boost/range/concepts.hpp(184): error C2238: unexpected token(s) preceding ';'
Any ideas?
I'm not sure which branch you are trying to build. I had a quick look here: http://www.boost.org/development/tests/master/developer/range.html. It seems to indicate that on Wed 17th MSVC14 was passing unit tests. The HEAD of the develop branch appears to have acquired a problem with a Boost.Optional header, but this doesn't seem to be related to your specific problem. You can disable Boost.Range concept checking by defining BOOST_RANGE_ENABLE_CONCEPT_ASSERT to be 0. This might, provide a temporary solution. If you provide more information about the version I'll get straight to looking at the problem.
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
Regards, Neil Groves
On Fri, Feb 19, 2016 at 10:24 AM, Neil Groves
I'm trying to build the auto_index tool using msvc-14 and I'm getting
On 19 February 2016 at 16:07, Rene Rivera
wrote: this error:
'boost::range_detail::ForwardIteratorConcept<Iterator>' being compiled ..\..\..\boost/range/concepts.hpp(184): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ..\..\..\boost/range/concepts.hpp(184): error C2238: unexpected token(s) preceding ';'
Any ideas?
I'm not sure which branch you are trying to build. I had a quick look here: http://www.boost.org/development/tests/master/developer/range.html. It seems to indicate that on Wed 17th MSVC14 was passing unit tests. The HEAD of the develop branch appears to have acquired a problem with a Boost.Optional header, but this doesn't seem to be related to your specific problem.
You can disable Boost.Range concept checking by defining BOOST_RANGE_ENABLE_CONCEPT_ASSERT to be 0. This might, provide a temporary solution.
If you provide more information about the version I'll get straight to looking at the problem.
It's the develop branch.. % .\bootstrap.bat % .\b2 headers % cd tools\auto_index\build % ..\..\..\b2 -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
participants (3)
-
Marcel Raad
-
Neil Groves
-
Rene Rivera