fix: Remove instances of undefined behavior #4190
Annotations
18 errors and 7 warnings
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L300
‘auto’ not permitted in template argument
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L300
template argument 1 is invalid
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L301
template argument 1 is invalid
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L301
‘<expression error>’ in namespace ‘std’ does not name a type
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L305
‘AmfType’ was not declared in this scope
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L305
template argument 1 is invalid
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L305
expected ‘>’ before ‘*’ token
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L305
expected ‘(’ before ‘*’ token
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L305
expected primary-expression before ‘>’ token
|
Build & Test (ubuntu-22.04):
dCommon/Amf3.h#L305
expected ‘)’ before ‘:’ token
|
Build & Test (windows-2022):
dCommon/Amf3.h#L300
a template-argument cannot be a type that contains 'auto' [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dGameBase.vcxproj]
|
Build & Test (windows-2022):
dCommon/Amf3.h#L300
a template-argument cannot be a type that contains 'auto' [D:\a\DarkflameServer\DarkflameServer\build\msvc\dCommon\dCommon.vcxproj]
|
Build & Test (windows-2022)
run-cmake action execution failed: 'Error: "'C:\Program Files\CMake\bin\cmake.exe' failed with error code: '1'.'
|
Build & Test (macos-13):
dCommon/Amf3.h#L300
'auto' not allowed in template argument
|
Build & Test (macos-13):
dCommon/Amf3.h#L301
use of class template 'AMFValue' requires template arguments; argument deduction not allowed in function return type
|
Build & Test (macos-13):
dCommon/Amf3.h#L305
use of undeclared identifier 'AmfType'
|
Build & Test (macos-13):
dCommon/Amf3.h#L304
cannot initialize return object of type 'int *' with an rvalue of type 'pointer' (aka 'AMFBaseValue *')
|
Build & Test (macos-13)
run-cmake action execution failed: 'Error: "'/usr/local/bin/cmake' failed with error code: '2'.'
|
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]
|