Cai Huan
2018-09-29 13:27:28 UTC
os version: win10 10.0.17134
chromium version: 70.0.3538.5
gn command: gn gen out\debug_vc --args='is_clang=false'
the compiler post error message after typing ninja -C out\debug_vc base
like this
[30/318] CXX obj/base/base/scheduler_worker_pool.obj
FAILED: obj/base/base/scheduler_worker_pool.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft
Visual
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64/cl.exe"
/nologo /showIncludes -DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_HAS_EXCEPTIONS=0
-DCOMPONENT_BUILD -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS
-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=1 -DWIN32 -D_SECURE_ATL
-D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP
-DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE
-DNTDDI_VERSION=0x0A000002 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DBASE_IMPLEMENTATION -I../.. -Igen /utf-8 /wd4117 /D__DATE__= /D__TIME__=
/D__TIMESTAMP__= /Gy /FS /bigobj /d2FastFail /Zc:sizedDealloc- /W4 /WX
/wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503
/wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610
/wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201
/wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703
/wd4661 /wd4706 /wd4715 /wd4702 /Od /Ob0 /GF /Zi /MDd /FIbuild/precompile.h
/wd4267 /Fpobj/base/base_cc.pch /Yubuild/precompile.h /TP /wd4577 /GR- /c
../../base/task/task_scheduler/scheduler_worker_pool.cc
/Foobj/base/base/scheduler_worker_pool.obj /Fd"obj/base/base_cc.pdb"
E:\google\chromium\canary\src\base/bind.h(216): error C2440:
'initializing': cannot convert from 'R (__cdecl
*)(base::internal::BindStateBase
*,conditional<_Test,base::internal::Task,base::internal::Task&&>::type)' to
'PolymorphicInvoke'
with
[
R=void
]
E:\google\chromium\canary\src\base/bind.h(216): note: This conversion
requires a reinterpret_cast, a C-style cast or function-style cast
../../base/task/task_scheduler/scheduler_worker_pool.cc(164): note: see
reference to function template instantiation 'base::OnceCallback<void
(base::internal::Task)>
base::BindOnce<base::internal::SchedulerWorkerPool::PostTaskWithSequence::<lambda_bcde9d6def0db5146913cf37b1057a71>,scoped_refptr<base::internal::Sequence>,base::internal::UnretainedWrapper<base::internal::SchedulerWorkerPool>>(Functor
&&,scoped_refptr<base::internal::Sequence>
&&,base::internal::UnretainedWrapper<base::internal::SchedulerWorkerPool>
&&)' being compiled
with
[
Functor=base::internal::SchedulerWorkerPool::PostTaskWithSequence::<lambda_bcde9d6def0db5146913cf37b1057a71>
]
[31/318] CXX obj/base/base/scheduler_single_thread_task_runner_manager.obj
FAILED: obj/base/base/scheduler_single_thread_task_runner_manager.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft
Visual
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64/cl.exe"
/nologo /showIncludes -DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_HAS_EXCEPTIONS=0
-DCOMPONENT_BUILD -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS
-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=1 -DWIN32 -D_SECURE_ATL
-D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP
-DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE
-DNTDDI_VERSION=0x0A000002 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DBASE_IMPLEMENTATION -I../.. -Igen /utf-8 /wd4117 /D__DATE__= /D__TIME__=
/D__TIMESTAMP__= /Gy /FS /bigobj /d2FastFail /Zc:sizedDealloc- /W4 /WX
/wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503
/wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610
/wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201
/wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703
/wd4661 /wd4706 /wd4715 /wd4702 /Od /Ob0 /GF /Zi /MDd /FIbuild/precompile.h
/wd4267 /Fpobj/base/base_cc.pch /Yubuild/precompile.h /TP /wd4577 /GR- /c
../../base/task/task_scheduler/scheduler_single_thread_task_runner_manager.cc
/Foobj/base/base/scheduler_single_thread_task_runner_manager.obj
/Fd"obj/base/base_cc.pdb"
E:\google\chromium\canary\src\base/bind.h(216): error C2440:
'initializing': cannot convert from 'R (__cdecl
*)(base::internal::BindStateBase
*,conditional<_Test,base::internal::Task,base::internal::Task&&>::type)' to
'PolymorphicInvoke'
with
[
R=void
]
E:\google\chromium\canary\src\base/bind.h(216): note: This conversion
requires a reinterpret_cast, a C-style cast or function-style cast
../../base/task/task_scheduler/scheduler_single_thread_task_runner_manager.cc(312):
note: see reference to function template instantiation
'base::OnceCallback<void (base::internal::Task)>
base::BindOnce<void(__cdecl
base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner::*
)(base::internal::Task),base::internal::UnretainedWrapper<base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner>>(Functor
&&,base::internal::UnretainedWrapper<base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner>
&&)' being compiled
with
[
Functor=void (__cdecl
base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner::*
)(base::internal::Task)
]
[43/318] CXX obj/base/base/work_queue.obj
ninja: build stopped: subcommand failed.
but when is_clang=true everything is ok, does chromium not support vc
compiler?
chromium version: 70.0.3538.5
gn command: gn gen out\debug_vc --args='is_clang=false'
the compiler post error message after typing ninja -C out\debug_vc base
like this
[30/318] CXX obj/base/base/scheduler_worker_pool.obj
FAILED: obj/base/base/scheduler_worker_pool.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft
Visual
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64/cl.exe"
/nologo /showIncludes -DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_HAS_EXCEPTIONS=0
-DCOMPONENT_BUILD -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS
-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=1 -DWIN32 -D_SECURE_ATL
-D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP
-DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE
-DNTDDI_VERSION=0x0A000002 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DBASE_IMPLEMENTATION -I../.. -Igen /utf-8 /wd4117 /D__DATE__= /D__TIME__=
/D__TIMESTAMP__= /Gy /FS /bigobj /d2FastFail /Zc:sizedDealloc- /W4 /WX
/wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503
/wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610
/wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201
/wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703
/wd4661 /wd4706 /wd4715 /wd4702 /Od /Ob0 /GF /Zi /MDd /FIbuild/precompile.h
/wd4267 /Fpobj/base/base_cc.pch /Yubuild/precompile.h /TP /wd4577 /GR- /c
../../base/task/task_scheduler/scheduler_worker_pool.cc
/Foobj/base/base/scheduler_worker_pool.obj /Fd"obj/base/base_cc.pdb"
E:\google\chromium\canary\src\base/bind.h(216): error C2440:
'initializing': cannot convert from 'R (__cdecl
*)(base::internal::BindStateBase
*,conditional<_Test,base::internal::Task,base::internal::Task&&>::type)' to
'PolymorphicInvoke'
with
[
R=void
]
E:\google\chromium\canary\src\base/bind.h(216): note: This conversion
requires a reinterpret_cast, a C-style cast or function-style cast
../../base/task/task_scheduler/scheduler_worker_pool.cc(164): note: see
reference to function template instantiation 'base::OnceCallback<void
(base::internal::Task)>
base::BindOnce<base::internal::SchedulerWorkerPool::PostTaskWithSequence::<lambda_bcde9d6def0db5146913cf37b1057a71>,scoped_refptr<base::internal::Sequence>,base::internal::UnretainedWrapper<base::internal::SchedulerWorkerPool>>(Functor
&&,scoped_refptr<base::internal::Sequence>
&&,base::internal::UnretainedWrapper<base::internal::SchedulerWorkerPool>
&&)' being compiled
with
[
Functor=base::internal::SchedulerWorkerPool::PostTaskWithSequence::<lambda_bcde9d6def0db5146913cf37b1057a71>
]
[31/318] CXX obj/base/base/scheduler_single_thread_task_runner_manager.obj
FAILED: obj/base/base/scheduler_single_thread_task_runner_manager.obj
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft
Visual
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX64\x64/cl.exe"
/nologo /showIncludes -DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DNO_TCMALLOC
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_HAS_EXCEPTIONS=0
-DCOMPONENT_BUILD -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE
-D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS
-DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=1 -DWIN32 -D_SECURE_ATL
-D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP
-DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE
-DNTDDI_VERSION=0x0A000002 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1
-DBASE_IMPLEMENTATION -I../.. -Igen /utf-8 /wd4117 /D__DATE__= /D__TIME__=
/D__TIMESTAMP__= /Gy /FS /bigobj /d2FastFail /Zc:sizedDealloc- /W4 /WX
/wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503
/wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610
/wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201
/wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703
/wd4661 /wd4706 /wd4715 /wd4702 /Od /Ob0 /GF /Zi /MDd /FIbuild/precompile.h
/wd4267 /Fpobj/base/base_cc.pch /Yubuild/precompile.h /TP /wd4577 /GR- /c
../../base/task/task_scheduler/scheduler_single_thread_task_runner_manager.cc
/Foobj/base/base/scheduler_single_thread_task_runner_manager.obj
/Fd"obj/base/base_cc.pdb"
E:\google\chromium\canary\src\base/bind.h(216): error C2440:
'initializing': cannot convert from 'R (__cdecl
*)(base::internal::BindStateBase
*,conditional<_Test,base::internal::Task,base::internal::Task&&>::type)' to
'PolymorphicInvoke'
with
[
R=void
]
E:\google\chromium\canary\src\base/bind.h(216): note: This conversion
requires a reinterpret_cast, a C-style cast or function-style cast
../../base/task/task_scheduler/scheduler_single_thread_task_runner_manager.cc(312):
note: see reference to function template instantiation
'base::OnceCallback<void (base::internal::Task)>
base::BindOnce<void(__cdecl
base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner::*
)(base::internal::Task),base::internal::UnretainedWrapper<base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner>>(Functor
&&,base::internal::UnretainedWrapper<base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner>
&&)' being compiled
with
[
Functor=void (__cdecl
base::internal::SchedulerSingleThreadTaskRunnerManager::SchedulerSingleThreadTaskRunner::*
)(base::internal::Task)
]
[43/318] CXX obj/base/base/work_queue.obj
ninja: build stopped: subcommand failed.
but when is_clang=true everything is ok, does chromium not support vc
compiler?
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.