Skip to content

fix: Remove instances of undefined behavior #4191

fix: Remove instances of undefined behavior

fix: Remove instances of undefined behavior #4191

Triggered via pull request November 22, 2024 22:08
@jadebennjadebenn
synchronize #1652
ub-fixes
Status Success
Total duration 3m 48s
Artifacts

build-and-test.yml

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

Annotations

30 errors and 7 warnings
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L103
template argument 1 is invalid
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L103
‘<expression error>’ in namespace ‘std’ does not name a type
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L133
‘ValueType’ was not declared in this scope; did you mean ‘GetValueType’?
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L133
template argument 1 is invalid
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L133
template argument 1 is invalid
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L133
‘<expression error>’ in namespace ‘std’ does not name a type
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L186
‘ValueType’ was not declared in this scope; did you mean ‘GetValueType’?
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L186
template argument 1 is invalid
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L186
template argument 1 is invalid
Build & Test (ubuntu-22.04): dCommon/Amf3.h#L186
‘<expression error>’ in namespace ‘std’ does not name a type
Build & Test (windows-2022): dCommon/Amf3.h#L103
'AMFValue': use of class template requires template argument list [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L103
'AMFValue': use of class template requires template argument list [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L133
'AMFValue': use of class template requires template argument list [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L133
'AMFValue': use of class template requires template argument list [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L133
'AMFArrayValue::ValueType': use of alias template requires template argument list [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L133
'std::pair': use of class template requires template argument list [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L186
'AMFValue': use of class template requires template argument list [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L186
'AMFValue': use of class template requires template argument list [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L186
missing type specifier - int assumed. Note: C++ does not support default-int [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (windows-2022): dCommon/Amf3.h#L186
syntax error: 'unknown-type' should be preceded by ')' [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
Build & Test (macos-13): dCommon/Amf3.h#L103
use of class template 'AMFValue' requires template arguments; argument deduction not allowed in function return type
Build & Test (macos-13): dCommon/Amf3.h#L133
use of undeclared identifier 'ValueType'
Build & Test (macos-13): dCommon/Amf3.h#L133
unknown type name 'ValueType'
Build & Test (macos-13): dCommon/Amf3.h#L186
use of undeclared identifier 'ValueType'
Build & Test (macos-13): dCommon/Amf3.h#L186
no template named 'ValueType'
Build & Test (macos-13): dCommon/Amf3.h#L241
use of undeclared identifier 'ValueType'
Build & Test (macos-13): dCommon/Amf3.h#L241
no template named 'ValueType'
Build & Test (macos-13): dCommon/Amf3.h#L304
use of undeclared identifier 'ValueType'
Build & Test (macos-13): dCommon/Amf3.h#L327
use of undeclared identifier 'ValueType'
Build & Test (macos-13): dCommon/Amf3.h#L135
use of undeclared identifier 'ValueType'; did you mean 'GetValueType'?
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 (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]