STEllAR-GROUP / hpx

The C++ Standard Library for Parallelism and Concurrency
https://hpx.stellar-group.org
Boost Software License 1.0
2.54k stars 438 forks source link

Building HPX 1.4.0 with IO Counters breaks (Windows) #4336

Closed McKillroy closed 4 years ago

McKillroy commented 4 years ago

Expected Behavior

to build

Actual Behavior

breaks

Steps to Reproduce the Problem

build with -DHPX_WITH_IO_COUNTERS=ON

Specifications

... Please describe your environment

 [281/284] c:\PROGRA~2\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\HostX64\x64\cl.exe   /TP -DBOOST_ALL_NO_LIB -DDEBUG -DHPX_COMPONENT_EXPORTS -DHPX_COMPONENT_NAME=hpx_io_counters -DHPX_COMPONENT_STRING=\"hpx_io_counters\" -DHPX_DEBUG -DHPX_ENABLE_ASSERT_HANDLER -D_DEBUG -D_WIN32 -D_WINDOWS -Dio_counters_component_EXPORTS -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0 -I. -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\affinity\include -Ilibs\affinity\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\affinity\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\algorithms\include -Ilibs\algorithms\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\allocator_support\include -Ilibs\allocator_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\allocator_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\assertion\include -Ilibs\assertion\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\assertion\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\basic_execution\include -Ilibs\basic_execution\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\basic_execution\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\batch_environments\include -Ilibs\batch_environments\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\batch_environments\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\cache\include -Ilibs\cache\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\cache\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\checkpoint\include -Ilibs\checkpoint\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\checkpoint\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\collectives\include -Ilibs\collectives\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\collectives\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\compute\include -Ilibs\compute\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\compute_cuda\include -Ilibs\compute_cuda\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concepts\include -Ilibs\concepts\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concepts\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concurrency\include -Ilibs\concurrency\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concurrency\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\config\include -Ilibs\config\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\coroutines\include -Ilibs\coroutines\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\coroutines\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\datastructures\include -Ilibs\datastructures\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\datastructures\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\debugging\include -Ilibs\debugging\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\debugging\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\errors\include -Ilibs\errors\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\errors\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\execution\include -Ilibs\execution\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\filesystem\include -Ilibs\filesystem\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\format\include -Ilibs\format\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\format\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\functional\include -Ilibs\functional\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\functional\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hardware\include -Ilibs\hardware\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hardware\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hashing\include -Ilibs\hashing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hashing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\iterator_support\include -Ilibs\iterator_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\iterator_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\local_lcos\include -Ilibs\local_lcos\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\local_lcos\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\logging\include -Ilibs\logging\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\logging\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\memory\include -Ilibs\memory\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\plugin\include -Ilibs\plugin\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\plugin\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\preprocessor\include -Ilibs\preprocessor\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\preprocessor\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\program_options\include -Ilibs\program_options\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resiliency\include -Ilibs\resiliency\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resource_partitioner\include -Ilibs\resource_partitioner\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resource_partitioner\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\segmented_algorithms\include -Ilibs\segmented_algorithms\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\serialization\include -Ilibs\serialization\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\serialization\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\static_reinit\include -Ilibs\static_reinit\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\static_reinit\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\statistics\include -Ilibs\statistics\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\statistics\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\synchronization\include -Ilibs\synchronization\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\synchronization\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\testing\include -Ilibs\testing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\testing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\thread_support\include -Ilibs\thread_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\thread_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\threadmanager\include -Ilibs\threadmanager\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\threadmanager\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\timing\include -Ilibs\timing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\timing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\topology\include -Ilibs\topology\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\topology\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\type_support\include -Ilibs\type_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\type_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\util\include -Ilibs\util\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\util\include_compatibility -IC:\__A\Arc_Sb\_INSTALL\boost\boost-1.72.0\Debug\include\boost-1_72 -IC:\__A\Arc_Sb\_INSTALL\hwloc\2.1.0\Release\include\hwloc /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1   /RTC1 -Zc:inline -Zc:throwingNew -Zc:rvalueCast -Zc:strictStrings -GR -MP -bigobj -W3 -wd4180 -wd4307 -wd4316 -wd4503 -wd4800 -FC -EHsc -Zc:__cplusplus /showIncludes /Focomponents\performance_counters\io\CMakeFiles\io_counters_component.dir\src\io_counters.cpp.obj /Fdcomponents\performance_counters\io\CMakeFiles\io_counters_component.dir\ /FS -c C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\src\io_counters.cpp
  FAILED: components/performance_counters/io/CMakeFiles/io_counters_component.dir/src/io_counters.cpp.obj 
  c:\PROGRA~2\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\HostX64\x64\cl.exe   /TP -DBOOST_ALL_NO_LIB -DDEBUG -DHPX_COMPONENT_EXPORTS -DHPX_COMPONENT_NAME=hpx_io_counters -DHPX_COMPONENT_STRING=\"hpx_io_counters\" -DHPX_DEBUG -DHPX_ENABLE_ASSERT_HANDLER -D_DEBUG -D_WIN32 -D_WINDOWS -Dio_counters_component_EXPORTS -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0 -I. -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\affinity\include -Ilibs\affinity\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\affinity\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\algorithms\include -Ilibs\algorithms\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\allocator_support\include -Ilibs\allocator_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\allocator_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\assertion\include -Ilibs\assertion\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\assertion\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\basic_execution\include -Ilibs\basic_execution\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\basic_execution\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\batch_environments\include -Ilibs\batch_environments\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\batch_environments\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\cache\include -Ilibs\cache\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\cache\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\checkpoint\include -Ilibs\checkpoint\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\checkpoint\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\collectives\include -Ilibs\collectives\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\collectives\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\compute\include -Ilibs\compute\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\compute_cuda\include -Ilibs\compute_cuda\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concepts\include -Ilibs\concepts\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concepts\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concurrency\include -Ilibs\concurrency\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concurrency\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\config\include -Ilibs\config\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\coroutines\include -Ilibs\coroutines\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\coroutines\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\datastructures\include -Ilibs\datastructures\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\datastructures\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\debugging\include -Ilibs\debugging\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\debugging\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\errors\include -Ilibs\errors\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\errors\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\execution\include -Ilibs\execution\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\filesystem\include -Ilibs\filesystem\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\format\include -Ilibs\format\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\format\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\functional\include -Ilibs\functional\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\functional\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hardware\include -Ilibs\hardware\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hardware\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hashing\include -Ilibs\hashing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hashing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\iterator_support\include -Ilibs\iterator_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\iterator_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\local_lcos\include -Ilibs\local_lcos\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\local_lcos\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\logging\include -Ilibs\logging\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\logging\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\memory\include -Ilibs\memory\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\plugin\include -Ilibs\plugin\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\plugin\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\preprocessor\include -Ilibs\preprocessor\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\preprocessor\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\program_options\include -Ilibs\program_options\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resiliency\include -Ilibs\resiliency\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resource_partitioner\include -Ilibs\resource_partitioner\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resource_partitioner\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\segmented_algorithms\include -Ilibs\segmented_algorithms\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\serialization\include -Ilibs\serialization\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\serialization\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\static_reinit\include -Ilibs\static_reinit\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\static_reinit\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\statistics\include -Ilibs\statistics\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\statistics\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\synchronization\include -Ilibs\synchronization\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\synchronization\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\testing\include -Ilibs\testing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\testing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\thread_support\include -Ilibs\thread_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\thread_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\threadmanager\include -Ilibs\threadmanager\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\threadmanager\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\timing\include -Ilibs\timing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\timing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\topology\include -Ilibs\topology\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\topology\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\type_support\include -Ilibs\type_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\type_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\util\include -Ilibs\util\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\util\include_compatibility -IC:\__A\Arc_Sb\_INSTALL\boost\boost-1.72.0\Debug\include\boost-1_72 -IC:\__A\Arc_Sb\_INSTALL\hwloc\2.1.0\Release\include\hwloc /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1   /RTC1 -Zc:inline -Zc:throwingNew -Zc:rvalueCast -Zc:strictStrings -GR -MP -bigobj -W3 -wd4180 -wd4307 -wd4316 -wd4503 -wd4800 -FC -EHsc -Zc:__cplusplus /showIncludes /Focomponents\performance_counters\io\CMakeFiles\io_counters_component.dir\src\io_counters.cpp.obj /Fdcomponents\performance_counters\io\CMakeFiles\io_counters_component.dir\ /FS -c C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\src\io_counters.cpp
  Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28315 for x64
  Copyright (C) Microsoft Corporation.  All rights reserved.

C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\src\io_counters.cpp(82): error C2065: 'pid_t': undeclared identifier
C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\src\io_counters.cpp(82): error C2146: syntax error: missing ';' before identifier 'pid'
C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\src\io_counters.cpp(82): error C2065: 'pid': undeclared identifier
C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\src\io_counters.cpp(83): error C2065: 'pid': undeclared identifier
C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\src\io_counters.cpp(87): error C2065: 'pid': undeclared identifier
C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\performance_counters\io\src\io_counters.cpp(96): error C2065: 'pid': undeclared identifier
  [282/284] c:\PROGRA~2\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\HostX64\x64\cl.exe   /TP -DBOOST_ALL_NO_LIB -DDEBUG -DHPX_COMPONENT_EXPORTS -DHPX_COMPONENT_NAME=hpx_process -DHPX_COMPONENT_STRING=\"hpx_process\" -DHPX_DEBUG -DHPX_ENABLE_ASSERT_HANDLER -DHPX_PROCESS_EXPORTS -D_DEBUG -D_WIN32 -D_WINDOWS -Dprocess_component_EXPORTS -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\components\process\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0 -I. -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\affinity\include -Ilibs\affinity\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\affinity\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\algorithms\include -Ilibs\algorithms\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\allocator_support\include -Ilibs\allocator_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\allocator_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\assertion\include -Ilibs\assertion\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\assertion\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\basic_execution\include -Ilibs\basic_execution\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\basic_execution\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\batch_environments\include -Ilibs\batch_environments\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\batch_environments\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\cache\include -Ilibs\cache\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\cache\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\checkpoint\include -Ilibs\checkpoint\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\checkpoint\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\collectives\include -Ilibs\collectives\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\collectives\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\compute\include -Ilibs\compute\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\compute_cuda\include -Ilibs\compute_cuda\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concepts\include -Ilibs\concepts\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concepts\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concurrency\include -Ilibs\concurrency\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\concurrency\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\config\include -Ilibs\config\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\coroutines\include -Ilibs\coroutines\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\coroutines\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\datastructures\include -Ilibs\datastructures\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\datastructures\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\debugging\include -Ilibs\debugging\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\debugging\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\errors\include -Ilibs\errors\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\errors\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\execution\include -Ilibs\execution\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\filesystem\include -Ilibs\filesystem\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\format\include -Ilibs\format\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\format\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\functional\include -Ilibs\functional\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\functional\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hardware\include -Ilibs\hardware\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hardware\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hashing\include -Ilibs\hashing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\hashing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\iterator_support\include -Ilibs\iterator_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\iterator_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\local_lcos\include -Ilibs\local_lcos\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\local_lcos\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\logging\include -Ilibs\logging\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\logging\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\memory\include -Ilibs\memory\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\plugin\include -Ilibs\plugin\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\plugin\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\preprocessor\include -Ilibs\preprocessor\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\preprocessor\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\program_options\include -Ilibs\program_options\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resiliency\include -Ilibs\resiliency\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resource_partitioner\include -Ilibs\resource_partitioner\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\resource_partitioner\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\segmented_algorithms\include -Ilibs\segmented_algorithms\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\serialization\include -Ilibs\serialization\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\serialization\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\static_reinit\include -Ilibs\static_reinit\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\static_reinit\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\statistics\include -Ilibs\statistics\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\statistics\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\synchronization\include -Ilibs\synchronization\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\synchronization\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\testing\include -Ilibs\testing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\testing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\thread_support\include -Ilibs\thread_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\thread_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\threadmanager\include -Ilibs\threadmanager\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\threadmanager\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\timing\include -Ilibs\timing\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\timing\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\topology\include -Ilibs\topology\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\topology\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\type_support\include -Ilibs\type_support\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\type_support\include_compatibility -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\util\include -Ilibs\util\include -IC:\__A\AC_DOWNLOAD\hpx\1.4.0\libs\util\include_compatibility -IC:\__A\Arc_Sb\_INSTALL\boost\boost-1.72.0\Debug\include\boost-1_72 -IC:\__A\Arc_Sb\_INSTALL\hwloc\2.1.0\Release\include\hwloc /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1   /RTC1 -Zc:inline -Zc:throwingNew -Zc:rvalueCast -Zc:strictStrings -GR -MP -bigobj -W3 -wd4180 -wd4307 -wd4316 -wd4503 -wd4800 -FC -EHsc -Zc:__cplusplus /showIncludes /Focomponents\process\CMakeFiles\process_component.dir\src\process.cpp.obj /Fdcomponents\process\CMakeFiles\process_component.dir\ /FS -c C:\__A\AC_DOWNLOAD\hpx\1.4.0\components\process\src\process.cpp
  Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28315 for x64
  Copyright (C) Microsoft Corporation.  All rights reserved.

  ninja: build stopped: subcommand failed.
hkaiser commented 4 years ago

This is a configuration issue as the implemented counters are Linux only (rely on the /proc file system). The proper fix at this point is to disable building the IO counters on anything but Linux.

msimberg commented 4 years ago

I think giving a hard error during configuration if IO counters are not available on the platform (and enabled) is preferable to silently disabling or ignoring the option on unsupported platforms. What do you think?

McKillroy commented 4 years ago

+1 for Hard Errors. Starting a lot of digging just to find out it's not supported on Windows is not what anyone wants, I think.

msimberg commented 4 years ago

Closing since #4343 was merged. Please reopen another issue if you'd like to see the IO counters actually implemented on Windows.