ถ้าไม่ขัดกันกับการเชื่อมโยงมันก็ดี

เมื่อ วันพุธที่ 17 มิถุนายน ค.ศ. 2020 14 นาฬิกา 37 นาที 04 วินาที UTC+7, 
Immanuel Haffner เขียนว่า:
>
> 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/9ada6e5f-c305-48f9-b3a2-7b0269116cbfo%40googlegroups.com.

Reply via email to