Oh, i forgot to mention the version. I am trying to compile V8 v8.5.183. But the error occurs also in older versions and is likely related to the update of the standard library rather then an update to V8.
Immanuel Haffner schrieb am Mittwoch, 17. Juni 2020 um 09:37:04 UTC+2: > I am trying to compile V8 in debug with the following build args: > > is_clang=true is_component_build=false v8_monolithic=true > treat_warnings_as_errors=false v8_use_external_startup_data=false > use_sysroot=false use_custom_libcxx=false clang_use_chrome_plugins=false > target_cpu="x64" is_debug=true use_debug_fission=true > > I get the following error: > > In file included from > ../../../../../third-party/v8/v8/test/unittests/base/template-utils-unittest.cc:5: > ../../../../../third-party/v8/v8/src/base/template-utils.h:58:71: error: > expected expression > struct has_output_operator<T, decltype(void(std::declval<std::ostream&>() > ^ > ../../../../../third-party/v8/v8/src/base/template-utils.h:58:63: error: > no member named 'ostream' in namespace 'std' > struct has_output_operator<T, decltype(void(std::declval<std::ostream&>() > ~~~~~^ > > I compile with clang 10.0.0 and the GNU standard library 10.1.0. I suppose > the error occurs because in a recent version of the STL, <ostream> is not > transitively included anymore. In template-utils.h, the include of > <ostream> is indeed missing. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/71ca971c-fa57-41b5-9d0f-551ed28b0097n%40googlegroups.com.