[Rivet] Build failed in Jenkins: Rivet-OSX32-HepMC-2.5 #665

Frank Siegert frank.siegert at cern.ch
Mon Sep 19 14:19:10 BST 2011


On 19/09/11 15:10, IPPP Hudson build system wrote:
> /usr/include/c++/4.2.1/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>&  std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, std::streamsize) [with _CharT = char, _Traits = std::char_traits<char>]':
> /usr/include/c++/4.2.1/bits/basic_string.h:2414:   instantiated from 'std::basic_ostream<_CharT, _Traits>&  std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
> token.h:67:   instantiated from here
> /usr/include/c++/4.2.1/bits/ostream_insert.h:82: error: invalid use of incomplete type 'struct std::basic_ostream<char, std::char_traits<char>  >'
> /usr/include/c++/4.2.1/iosfwd:64: error: declaration of 'struct std::basic_ostream<char, std::char_traits<char>  >'

According to [0] this seems to be solved by a change in system, while 
[1] claims it can be fixed by a change in the YAML build system. I'm not 
sure any of them helps us here, but wanted to check what others think 
before simply adding an apparently (?) missing #include <iostream> 
instead of <ios>?

Cheers,
Frank

[0] 
http://answers.ros.org/question/1856/compilation-error-building-rviz-on-osx-lion
[1] http://code.google.com/p/yaml-cpp/issues/detail?id=68


More information about the Rivet mailing list