Skip to content

fix: Remove instances of undefined behavior #4202

fix: Remove instances of undefined behavior

fix: Remove instances of undefined behavior #4202

Triggered via pull request November 23, 2024 21:56
@jadebennjadebenn
synchronize #1652
ub-fixes
Status Success
Total duration 12m 30s
Artifacts 2

build-and-test.yml

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

Annotations

1 error and 24 warnings
Build & Test (macos-13)
run-cmake action execution failed: 'Error: "'/usr/local/bin/cmake' failed with error code: '2'.'
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\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/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/dUtilities/Preconditions.cpp#L140
'<': unsafe use of type 'bool' in operation [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dUtilities\dUtilities.vcxproj]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
Build & Test (ubuntu-22.04): dCommon/dClient/AssetManager.h#L57
dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

Artifacts

Produced during runtime
Name Size
build-ubuntu-22.04
64.2 MB
build-windows-2022
22.1 MB