Skip to content

Possible broken tests #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
snf opened this issue Jan 23, 2020 · 3 comments
Closed

Possible broken tests #116

snf opened this issue Jan 23, 2020 · 3 comments

Comments

@snf
Copy link

snf commented Jan 23, 2020

I came across these compilation errors in the tests while I was trying the Rust build with VS2019. I didn't have more time to dig into the issue so documenting it here.

C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build>cmake  .. "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_RELEASE= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_RELEASE= -nologo -MD -Brepro"
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
-- snmalloc: Using Windows 10 APIs
CMake Warning at CMakeLists.txt:54 (message):
  Not generating clangformat target, no clang-format tool found
Call Stack (most recent call first):
  CMakeLists.txt:244 (clangformat_targets)


-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/build

C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build>cd ..

C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc>mkdir build

C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc>cd build

C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build>cmake  .. "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_RELEASE= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_RELEASE= -nologo -MD -Brepro"
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
-- The C compiler identification is MSVC 19.24.28314.0
-- The CXX compiler identification is MSVC 19.24.28314.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- snmalloc: Using Windows 10 APIs
-- Adding test: perf-contention-1
-- Single threaded test: perf-contention-1
-- Adding test: perf-contention-16
-- Single threaded test: perf-contention-16
-- Adding test: perf-external_pointer-1
-- Single threaded test: perf-external_pointer-1
-- Adding test: perf-external_pointer-16
-- Single threaded test: perf-external_pointer-16
-- Adding test: perf-singlethread-1
-- Single threaded test: perf-singlethread-1
-- Adding test: perf-singlethread-16
-- Single threaded test: perf-singlethread-16
-- Adding test: func-fixed_region-1
-- Single threaded test: func-fixed_region-1
-- Adding test: func-fixed_region-16
-- Single threaded test: func-fixed_region-16
-- Adding test: func-malloc-1
-- Adding test: func-malloc-16
-- Adding test: func-memory-1
-- Single threaded test: func-memory-1
-- Adding test: func-memory-16
-- Single threaded test: func-memory-16
-- Adding test: func-release-rounding-1 only for release configs
-- Adding test: func-release-rounding-16 only for release configs
-- Adding test: func-sizeclass-1
-- Adding test: func-sizeclass-16
-- Adding test: func-statistics-1
-- Adding test: func-statistics-16
-- Adding test: func-two_alloc_types-1
-- Single threaded test: func-two_alloc_types-1
-- Adding test: func-two_alloc_types-16
-- Single threaded test: func-two_alloc_types-16
CMake Warning at CMakeLists.txt:54 (message):
  Not generating clangformat target, no clang-format tool found
Call Stack (most recent call first):
  CMakeLists.txt:242 (clangformat_targets)


-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_BUILD_TYPE


-- Build files have been written to: C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/build
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build>cmake --build .
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  Checking Build System
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  fixed_region.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(444,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-fixed_region-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(437):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(const void *)' [C:\Users\caca\projects\snmalloc-rs
\snmalloc-sys\snmalloc\build\func-fixed_region-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test\func\fixed_region\fixed_region.cc(38): me
ssage : see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(const void *)' being compiled [C:\Users\caca\proje
cts\snmalloc-rs\snmalloc-sys\snmalloc\build\func-fixed_region-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-fixed_region-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(444,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-fixed_region-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  fixed_region.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(444,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-fixed_region-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(437):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(const void *)' [C:\Users\caca\projects\snmalloc-rs
\snmalloc-sys\snmalloc\build\func-fixed_region-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test\func\fixed_region\fixed_region.cc(38): me
ssage : see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(const void *)' being compiled [C:\Users\caca\proje
cts\snmalloc-rs\snmalloc-sys\snmalloc\build\func-fixed_region-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-fixed_region-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(444,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-fixed_region-16.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  malloc.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-malloc-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-malloc-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-malloc-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-malloc-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-malloc-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  malloc.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-malloc-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-malloc-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-malloc-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-malloc-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-malloc-16.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  memory.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-memory-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-memory-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-memory-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-memory-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-memory-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  memory.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-memory-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-memory-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-memory-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-memory-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-memory-16.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  rounding.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-release-rounding-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-release-rounding-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-release-rounding-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-release-rounding-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-release-rounding-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  rounding.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-release-rounding-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-release-rounding-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-release-rounding-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-release-rounding-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-release-rounding-16.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  sizeclass.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-sizeclass-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-sizeclass-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-sizeclass-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-sizeclass-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-sizeclass-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  sizeclass.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-sizeclass-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-sizeclass-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-sizeclass-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-sizeclass-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-sizeclass-16.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  stats.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-statistics-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-statistics-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-statistics-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-statistics-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-statistics-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  stats.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-statistics-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-statistics-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-statistics-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-statistics-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-statistics-16.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  alloc1.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
  alloc2.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
  main.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(444,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(437):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(const void *)' [C:\Users\caca\projects\snmalloc-rs
\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test\func\two_alloc_types\main.cc(51): message
 : see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basi
c_ostream<char,std::char_traits<char>>::operator <<(const void *)' being compiled [C:\Users\caca\projects\s
nmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(444,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-1.vcxproj]
  Generating Code...
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  alloc1.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
  alloc2.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\../ds/csv.h(44): message : see reference t
o function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std
::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snm
alloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
  main.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(444,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(437):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(const void *)' [C:\Users\caca\projects\snmalloc-rs
\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test\func\two_alloc_types\main.cc(51): message
 : see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basi
c_ostream<char,std::char_traits<char>>::operator <<(const void *)' being compiled [C:\Users\caca\projects\s
nmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(444,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\func-two_alloc_types-16.vcxproj]
  Generating Code...
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  contention.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\perf-contention-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\perf-contention-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test/usage.h(39): message : see reference to f
unction template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::c
har_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snmall
oc-sys\snmalloc\build\perf-contention-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-contention-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-contention-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  contention.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\perf-contention-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\perf-contention-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test/usage.h(39): message : see reference to f
unction template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::c
har_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\projects\snmalloc-rs\snmall
oc-sys\snmalloc\build\perf-contention-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-contention-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-contention-16.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  externalpointer.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(354,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\perf-external_pointer-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(347):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(__int64)' [C:\Users\caca\projects\snmalloc-rs\snma
lloc-sys\snmalloc\build\perf-external_pointer-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test\perf\external_pointer\externalpointer.cc(
67): message : see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>
> &std::basic_ostream<char,std::char_traits<char>>::operator <<(__int64)' being compiled [C:\Users\caca\pro
jects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-external_pointer-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-external_pointer-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\sizeclasstable.h(32): message : see refere
nce to class template instantiation 'snmalloc::ModArray<23,uint16_t>' being compiled [C:\Users\caca\project
s\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-external_pointer-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(354,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-external_pointer-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  externalpointer.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(354,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\perf-external_pointer-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(347):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(__int64)' [C:\Users\caca\projects\snmalloc-rs\snma
lloc-sys\snmalloc\build\perf-external_pointer-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test\perf\external_pointer\externalpointer.cc(
67): message : see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>
> &std::basic_ostream<char,std::char_traits<char>>::operator <<(__int64)' being compiled [C:\Users\caca\pro
jects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-external_pointer-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-external_pointer-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\sizeclasstable.h(32): message : see refere
nce to class template instantiation 'snmalloc::ModArray<31,uint16_t>' being compiled [C:\Users\caca\project
s\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-external_pointer-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(354,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-external_pointer-16.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  singlethread.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\perf-singlethread-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\perf-singlethread-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test\perf\singlethread\singlethread.cc(13): me
ssage : see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\p
rojects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-singlethread-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-singlethread-1.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\sizeclasstable.h(32): message : see refere
nce to class template instantiation 'snmalloc::ModArray<23,uint16_t>' being compiled [C:\Users\caca\project
s\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-singlethread-1.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-singlethread-1.vcxproj]
  Building Custom Rule C:/Users/caca/projects/snmalloc-rs/snmalloc-sys/snmalloc/CMakeLists.txt
  singlethread.cc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: error C2220: the following warning is treated as an error [C:\Users\caca\projects\snmalloc-rs\snmalloc-sy
s\snmalloc\build\perf-singlethread-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(365):
message : while compiling class template member function 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' [C:\Users\caca\projects\snmallo
c-rs\snmalloc-sys\snmalloc\build\perf-singlethread-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\test\perf\singlethread\singlethread.cc(13): me
ssage : see reference to function template instantiation 'std::basic_ostream<char,std::char_traits<char>> &std:
:basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)' being compiled [C:\Users\caca\p
rojects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-singlethread-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(638):
message : see reference to class template instantiation 'std::basic_ostream<char,std::char_traits<char>>' being
 compiled [C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-singlethread-16.vcxproj]
C:\Users\caca\projects\snmalloc-rs\snmalloc-sys\snmalloc\src\mem\sizeclasstable.h(32): message : see refere
nce to class template instantiation 'snmalloc::ModArray<31,uint16_t>' being compiled [C:\Users\caca\project
s\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-singlethread-16.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\include\ostream(372,1)
: warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\sefe
rnan\projects\snmalloc-rs\snmalloc-sys\snmalloc\build\perf-singlethread-16.vcxproj]
@mjp41
Copy link
Member

mjp41 commented Jan 24, 2020

So setting build flags like that does not seem to work:

cmake  .. "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64" "-DCMAKE_CXX_FLAGS= "

fails to compile, while

cmake  .. "-G" "Visual Studio 16 2019" "-Thost=x64" "-Ax64"

compiles fine for me.

It seems there are some defaults that get overridden if you specify CMAKE_CXX_FLAGS at the command line.

@snf
Copy link
Author

snf commented Jan 24, 2020

Thanks! cmake-rs is overriding that while CMake uses the default /DWIN32 /D_WINDOWS /W3 /GR /EHsc

@snf snf closed this as completed Jan 24, 2020
@snf
Copy link
Author

snf commented Jan 24, 2020

Linking to #109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants