Skip to content

fix: Remove instances of undefined behavior #4186

fix: Remove instances of undefined behavior

fix: Remove instances of undefined behavior #4186

Triggered via pull request November 22, 2024 00:37
@jadebennjadebenn
synchronize #1652
ub-fixes
Status Success
Total duration 12m 46s
Artifacts

build-and-test.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 14 warnings
Build & Test (macos-13): dCommon/Amf3.h#L86
deduced type 'AMFStringValue' (aka 'AMFValue<basic_string<char>>') of deduction guide is not a specialization of template 'AMFValue'
Build & Test (macos-13)
run-cmake action execution failed: 'Error: "'/usr/local/bin/cmake' failed with error code: '2'.'
Build & Test (windows-2022)
run-cmake action execution failed: 'Error: "'C:\Program Files\CMake\bin\cmake.exe' failed with error code: '8'.'
Build & Test (ubuntu-22.04)
run-cmake action execution failed: 'Error: "'/usr/local/bin/cmake' failed with error code: '8'.'
Build & Test (macos-13)
openssl@3 3.4.0 is already installed and up-to-date. To reinstall 3.4.0, run: brew reinstall openssl@3
Build & Test (macos-13): thirdparty/mariadb-connector-cpp/src/logger/LoggerFactory.cpp#L28
variable 'NO_LOGGER' is uninitialized when used within its own initialization [-Wuninitialized]
Build & Test (macos-13): thirdparty/mariadb-connector-cpp/src/logger/LoggerFactory.cpp#L28
variable 'NO_LOGGER' is uninitialized when used within its own initialization [-Wuninitialized]
Build & Test (macos-13): thirdparty/mariadb-connector-cpp/src/com/RowProtocol.cpp#L260
shift count >= width of type [-Wshift-count-overflow]
Build & Test (windows-2022): thirdparty/libbcrypt/include/bcrypt/bcrypt.h#L17
'BCRYPT_HASHSIZE': macro redefinition [D:\a\DarkflameServer\DarkflameServer\build\msvc\thirdparty\bcrypt.vcxproj]
Build & Test (windows-2022): thirdparty/libbcrypt/src/bcrypt.c#L158
'=': 'char *' differs in levels of indirection from 'int' [D:\a\DarkflameServer\DarkflameServer\build\msvc\thirdparty\bcrypt.vcxproj]
Build & Test (windows-2022): thirdparty/libbcrypt/src/bcrypt.c#L166
'=': 'char *' differs in levels of indirection from 'int' [D:\a\DarkflameServer\DarkflameServer\build\msvc\thirdparty\bcrypt.vcxproj]
Build & Test (windows-2022): dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
Build & Test (windows-2022): dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
Build & Test (windows-2022): dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
Build & Test (windows-2022): dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
Build & Test (windows-2022): dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dComponents\dComponents.vcxproj]
Build & Test (windows-2022): dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
Build & Test (windows-2022): dGame/dUtilities/Preconditions.cpp#L140
'<': unsafe use of type 'bool' in operation [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dUtilities\dUtilities.vcxproj]