Menu

#1774 Building and Testing on Windows 8

5.0.0
closed
Erich
None
none
1
2025-05-02
2021-07-13
No

When building on Windows 8, 64 bit I get a "success" in the end but there are warnings that I think point to problems that need attention. Especially RexxMemory build looks different compared to Windows 10

Windows 8


** Visual Studio 2019 Developer Command Prompt v16.10.3
** Copyright (c) 2021 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64'
-- CMake version is 3.20.3
-- Building for a 64-bit architecture
-- OOREXX_SHEBANG_PROGRAM: "/usr/bin/env rexx" (default)
-- SVN Revision Number is 12280
-- Building NSIS template ooRexx-5.0.0-12280.windows.x86_64.nsi
-- Configuring done
CMake Warning (dev) at testbinaries/CMakeLists.txt:60 (add_library):
Policy CMP0115 is not set: Source file extensions must be explicit. Run
"cmake --help-policy CMP0115" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
<many more="" like="" this="">
-- Generating done
-- Build files have been written to: C:/Users/osboxes/workspace/ooRexx-windows8_64-build/oorexxBuild</many>

jom 1.1.3 - empower your cores

Windows 10


** Visual Studio 2017 Developer Command Prompt v15.9.3
** Copyright (c) 2017 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64'
-- CMake version is 3.13.1
-- Building for a 64-bit architecture
-- OOREXX_SHEBANG_PROGRAM: "/usr/bin/env rexx" (default)
-- SVN Revision Number is 12280
-- Building NSIS template ooRexx-5.0.0-12280.windows.x86_64.nsi
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Jenkins/workspace/ooRexx-windows64-build/oorexxBuild

jom 1.1.2 - empower your cores

Windows 8
[ 34%] Building CXX object CMakeFiles/rexx.dir/interpreter/memory/Setup.cpp.obj
Setup.cpp
C:\Users\osboxes\workspace\ooRexx-windows8_64-build\oorexxSVN\interpreter\memory\Setup.cpp(1778): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
[ 34%] Building CXX object CMakeFiles/rexx.dir/interpreter/memory/RexxMemory.cpp.obj
RexxMemory.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\vector(788): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\vector(747): note: see reference to function template instantiation 'MemorySegment std::vector<memorysegment *,std::allocator\<memorysegment="" *="">>::_Emplace_reallocate<const _ty&="">(MemorySegment </const></memorysegment>const ,const _Ty &)' being compiled
with
[
_Ty=MemorySegment *
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\vector(747): note: see reference to function template instantiation 'MemorySegment std::vector<memorysegment *,std::allocator\<memorysegment="" *="">>::_Emplace_reallocate<const _ty&="">(MemorySegment </const></memorysegment>const ,const _Ty &)' being compiled
with
[
_Ty=MemorySegment *
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\vector(756): note: see reference to function template instantiation 'void std::vector<memorysegment *,std::allocator\<memorysegment="" *="">>::emplace_back<const _ty&="">(const _Ty &)' being compiled
with
[
_Ty=MemorySegment *
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include\vector(755): note: while compiling class template member function 'void std::vector<memorysegment *,std::allocator\<memorysegment="" *="">>::push_back(const _Ty &)'
with
[
_Ty=MemorySegment *
]
C:\Users\osboxes\workspace\ooRexx-windows8_64-build\oorexxSVN\interpreter\memory\RexxMemory.cpp(518): note: see reference to function template instantiation 'void std::vector<memorysegment *,std::allocator\<memorysegment="" *="">>::push_back(const _Ty &)' being compiled
with
[
_Ty=MemorySegment *
]
C:\Users\osboxes\workspace\ooRexx-windows8_64-build\oorexxSVN\interpreter\memory\RexxMemory.hpp(292): note: see reference to class template instantiation 'std::vector<memorysegment *,std::allocator\<memorysegment="" *="">>' being compiled
[ 34%] Building CXX object CMakeFiles/rexx.dir/interpreter/package/LibraryPackage.cpp.obj</memorysegment></memorysegment></memorysegment></const></memorysegment>

Discussion

  • Per Olov Jonsson

    When running the test here is where I get stuck (last line)

    Executing The FUNCTION.testGroup class with 149 test cases
    .. Executing FUNCTION.testGroup test case TEST
    .. Executing FUNCTION.testGroup test case TEST000
    <working cases="">
    .. Executing FUNCTION.testGroup test case TEST_BUFFERED_INPUT
    .. Executing FUNCTION.testGroup test case TEST_BUFFERING</working>

     
  • Per Olov Jonsson

    This test is no longer blocking the execution but I think the warnings should be investigated.

     
  • Erich

    Erich - 2021-12-30
    • status: open --> accepted
    • assigned_to: Erich
    • Pending work items: none --> tests
     
  • Erich

    Erich - 2021-12-30

    Fixed CMP0115 warnings with revision [r12342]

    Regarding the C4530 warning to specify /EHsc
    I'm positive we are using /EHsc but I couldn't figure out why nevertheless the warning shows

     

    Related

    Commit: [r12342]

  • Per Olov Jonsson

     
  • Per Olov Jonsson

    It seems the underlying problem was solved but there is "tests" to be done: Erich can you check if this ticket can be closed?

     
  • Erich

    Erich - 2023-10-28
    • status: accepted --> pending
    • Pending work items: tests --> none
     
  • Rony G. Flatscher

    • Status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB