View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004981 | Spring engine | Buildbot | public | 2015-10-11 13:58 | 2015-10-15 15:09 |
| Reporter | abma | Assigned To | hokomoko | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Target Version | 101.0 | ||||
| Summary | 0004981: clang compile fails with lexical_cast.hpp:388:13: error: static_assert failed "Target type is neither std::istream`able n | ||||
| Description | In file included from /home/travis/build/spring/spring/rts/lib/lua/src/lvm.cpp:14: /usr/include/boost/lexical_cast.hpp:388:13: error: static_assert failed "Target type is neither std::istream`able nor std::wistream`able" ...BOOST_STATIC_ASSERT_MSG((result_t::value || boost::has_right_shift<std::basic_istream<wchar_t>, T >::value), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/static_assert.hpp:31:45: note: expanded from macro 'BOOST_STATIC_ASSERT_MSG' # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__) ^ /usr/include/boost/lexical_cast.hpp:415:44: note: in instantiation of template class 'boost::detail::deduce_target_char_impl<boost::detail::deduce_character_type_later<std::array<char, 32> > >' requested here typedef BOOST_DEDUCED_TYPENAME deduce_target_char_impl< stag... ^ /usr/include/boost/lexical_cast.hpp:674:59: note: in instantiation of template class 'boost::detail::deduce_target_char<std::array<char, 32> >' requested here typedef BOOST_DEDUCED_TYPENAME boost::detail::deduce_target_... ^ /usr/include/boost/lexical_cast.hpp:2360:44: note: in instantiation of template class 'boost::detail::lexical_cast_stream_traits<float, std::array<char, 32> >' requested here BOOST_DEDUCED_TYPENAME stream_trait::char_type, ^ /usr/include/boost/lexical_cast.hpp:2543:29: note: in instantiation of member function 'boost::detail::lexical_cast_do_cast<std::array<char, 32>, float>::lexical_cast_impl' requested here return caster_type::lexical_cast_impl(arg); ^ /home/travis/build/spring/spring/rts/lib/lua/src/lvm.cpp:62:18: note: in instantiation of function template specialization 'boost::lexical_cast<std::array<char, 32>, float>' requested here s = boost::lexical_cast<str_buf>(n); ^ In file included from /home/travis/build/spring/spring/rts/lib/lua/src/lvm.cpp:14: /usr/include/boost/lexical_cast.hpp:2371:34: error: excess elements in scalar initializer ...interpreter_type interpreter(buf, buf + stream_trait::len_t::value + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/lexical_cast.hpp:2543:29: note: in instantiation of member function 'boost::detail::lexical_cast_do_cast<std::array<char, 32>, float>::lexical_cast_impl' requested here return caster_type::lexical_cast_impl(arg); ^ /home/travis/build/spring/spring/rts/lib/lua/src/lvm.cpp:62:18: note: in instantiation of function template specialization 'boost::lexical_cast<std::array<char, 32>, float>' requested here s = boost::lexical_cast<str_buf>(n); ^ 2 errors generated. | ||||
| Additional Information | https://travis-ci.org/spring/spring/jobs/84765200#L1080 | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
our buildslave shows the same error message: http://buildbot.springrts.com/builders/full-clang/builds/628/steps/buildConfigNinja/logs/stdio |
|
|
crap, I'll try to figure this |
|
|
I've removed lexical_cast as it didn't solve the issue. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-10-11 13:58 | abma | New Issue | |
| 2015-10-11 14:18 | abma | Note Added: 0015295 | |
| 2015-10-11 16:35 | hokomoko | Note Added: 0015296 | |
| 2015-10-15 15:09 | hokomoko | Note Added: 0015301 | |
| 2015-10-15 15:09 | hokomoko | Status | new => closed |
| 2015-10-15 15:09 | hokomoko | Assigned To | => hokomoko |
| 2015-10-15 15:09 | hokomoko | Resolution | open => no change required |