fix: Remove instances of undefined behavior #4222
Annotations
8 errors and 10 warnings
cmake:
dScripts/02_server/Map/AG/NpcAgCourseStarter.cpp#L55
'bit_cast': is not a member of 'std' [D:\a\DarkflameServer\DarkflameServer\build\msvc\dScripts\02_server\Map\AG\dScriptsServerMapAG.vcxproj]
|
cmake:
dScripts/02_server/Map/AG/NpcAgCourseStarter.cpp#L55
type 'float' unexpected [D:\a\DarkflameServer\DarkflameServer\build\msvc\dScripts\02_server\Map\AG\dScriptsServerMapAG.vcxproj]
|
cmake:
dScripts/02_server/Map/AG/NpcAgCourseStarter.cpp#L84
'bit_cast': is not a member of 'std' [D:\a\DarkflameServer\DarkflameServer\build\msvc\dScripts\02_server\Map\AG\dScriptsServerMapAG.vcxproj]
|
cmake:
dScripts/02_server/Map/AG/NpcAgCourseStarter.cpp#L84
'int32_t': expected an expression instead of a type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dScripts\02_server\Map\AG\dScriptsServerMapAG.vcxproj]
|
cmake:
dScripts/02_server/Map/AG/NpcAgCourseStarter.cpp#L84
'startTime': const object must be initialized [D:\a\DarkflameServer\DarkflameServer\build\msvc\dScripts\02_server\Map\AG\dScriptsServerMapAG.vcxproj]
|
cmake:
dScripts/02_server/Map/AG/NpcAgCourseStarter.cpp#L86
'bit_cast': is not a member of 'std' [D:\a\DarkflameServer\DarkflameServer\build\msvc\dScripts\02_server\Map\AG\dScriptsServerMapAG.vcxproj]
|
cmake:
dScripts/02_server/Map/AG/NpcAgCourseStarter.cpp#L86
type 'float' unexpected [D:\a\DarkflameServer\DarkflameServer\build\msvc\dScripts\02_server\Map\AG\dScriptsServerMapAG.vcxproj]
|
cmake
run-cmake action execution failed: 'Error: "'C:\Program Files\CMake\bin\cmake.exe' failed with error code: '1'.'
|
cmake:
thirdparty/libbcrypt/include/bcrypt/bcrypt.h#L17
'BCRYPT_HASHSIZE': macro redefinition [D:\a\DarkflameServer\DarkflameServer\build\msvc\thirdparty\bcrypt.vcxproj]
|
cmake:
thirdparty/libbcrypt/src/bcrypt.c#L158
'=': 'char *' differs in levels of indirection from 'int' [D:\a\DarkflameServer\DarkflameServer\build\msvc\thirdparty\bcrypt.vcxproj]
|
cmake:
thirdparty/libbcrypt/src/bcrypt.c#L166
'=': 'char *' differs in levels of indirection from 'int' [D:\a\DarkflameServer\DarkflameServer\build\msvc\thirdparty\bcrypt.vcxproj]
|
cmake:
dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dComponents\dComponents.vcxproj]
|
cmake:
dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
|
cmake:
dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
|
cmake:
dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
|
cmake:
dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
|
cmake:
dGame/dPropertyBehaviors/ControlBehaviorMessages/MoveToInventoryMessage.h#L11
#pragma warning: unknown user warning type [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dPropertyBehaviors\dPropertyBehaviors.vcxproj]
|
cmake:
dGame/dUtilities/Preconditions.cpp#L140
'<': unsafe use of type 'bool' in operation [D:\a\DarkflameServer\DarkflameServer\build\msvc\dGame\dUtilities\dUtilities.vcxproj]
|
Loading