-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Invocations of host compiler don't specify -std and thus things break:
MAKE test GEN
MAKE runtime GEN
MAKE test GEN
ifcompiler/initCompiler.C: In constructor ‘init::Parser::Parser(int, char**)’:
ifcompiler/initCompiler.C:311:18: error: no match for ‘operator<<’ (operand types are ‘std::ostream {aka std::basic_ostream<char>}’ and ‘std::ostringstream {aka std::__cxx11::basic_ostringstream<char>}’)
cout << stats;
~~~~~^~~~~~~~
ifcompiler/initCompiler.C:311:18: note: candidate: operator<<(int, int) <built-in>
ifcompiler/initCompiler.C:311:18: note: no known conversion for argument 2 from ‘std::ostringstream {aka std::__cxx11::basic_ostringstream<char>}’ to ‘int’
In file included from /usr/include/c++/6.2.1/istream:39:0,
from /usr/include/c++/6.2.1/sstream:38,
from ifcompiler/initCompiler.C:46:
/usr/include/c++/6.2.1/ostream:108:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels