mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
The first header was used to include the SpiderMonkey JS API at once, with safeguards and preprocessor defines. Nowadays, SpiderMonkey provides modular headers allowing us to include what we use, refs #8086. Some defines have to be moved to compiler options but it is apparently a mistake from the SM developers: https://bugzilla.mozilla.org/show_bug.cgi?id=1987876
63 lines
2.5 KiB
Text
63 lines
2.5 KiB
Text
// Some versions of cppcheck segfault here, 2.13 to 2.16 probably. Git main is fine.
|
|
|
|
cppcheckError:./source/lib/file/file_system.cpp
|
|
|
|
// Suppress all from source/third_party
|
|
|
|
*:source/third_party/*
|
|
|
|
// Ignore SpiderMonkey version compile check
|
|
|
|
preprocessorErrorDirective:source/scriptinterface/ScriptEngine.h
|
|
|
|
// Lists of network/simulation messages are included in other files which define macros
|
|
|
|
unknownMacro:source/network/NetMessages.h
|
|
unknownMacro:source/simulation2/TypeList.h
|
|
|
|
// Issues reported by cppcheck and not yet fixed
|
|
|
|
danglingLifetime:source/lib/sysdep/os/unix/ufilesystem.cpp
|
|
|
|
danglingTemporaryLifetime:source/graphics/TerrainTextureManager.cpp
|
|
danglingTemporaryLifetime:source/lib/sysdep/os/unix/ufilesystem.cpp
|
|
|
|
invalidFunctionArg:source/lib/tests/test_secure_crt.h
|
|
|
|
mismatchAllocDealloc:source/lib/tex/tex.cpp
|
|
|
|
mismatchingContainers:source/graphics/TerrainTextureManager.cpp
|
|
|
|
missingReturn:source/simulation2/helpers/PathGoal.cpp
|
|
|
|
nullPointer:source/lib/tests/test_secure_crt.h
|
|
|
|
nullPointerArithmetic:source/lib/sysdep/os/win/wposix/wposix_internal.h
|
|
nullPointerArithmetic:source/lib/sysdep/os/win/wposix/wpthread.cpp
|
|
|
|
nullPointerOutOfMemory:source/lib/sysdep/os/osx/dir_watch.cpp
|
|
nullPointerOutOfMemory:source/lib/sysdep/smbios.cpp
|
|
nullPointerOutOfMemory:source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Terrain/Terrain.cpp
|
|
|
|
preprocessorErrorDirective:source/lib/sysdep/arch.h
|
|
preprocessorErrorDirective:source/lib/sysdep/arch/x86_x64/x86_x64.h
|
|
preprocessorErrorDirective:source/lib/sysdep/os/win/win.h
|
|
preprocessorErrorDirective:source/network/NMTCreator.h
|
|
preprocessorErrorDirective:source/tools/atlas/AtlasUI/CustomControls/Windows/AtlasWindow.h
|
|
|
|
returnDanglingLifetime:source/lib/file/vfs/vfs_tree.cpp
|
|
|
|
syntaxError:source/lib/tests/test_byte_order.h
|
|
syntaxError:source/ps/FileIo.cpp
|
|
syntaxError:source/tools/atlas/AtlasUI/CustomControls/EditableListCtrl/EditableListCtrl.cpp
|
|
syntaxError:source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Map/Map.cpp
|
|
syntaxError:source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Object/VariationControl.cpp
|
|
syntaxError:source/tools/atlas/AtlasUI/ScenarioEditor/Tools/TransformPath.cpp
|
|
syntaxError:source/tools/atlas/GameInterface/Messages.h
|
|
syntaxError:source/tools/atlas/GameInterface/MessagesSetup.h
|
|
|
|
unknownMacro:source/lib/external_libraries/dbghelp_funcs.h
|
|
unknownMacro:source/lib/sysdep/os/win/wdbg_sym.cpp
|
|
unknownMacro:source/lib/sysdep/os/win/wfirmware.cpp
|
|
unknownMacro:source/lib/sysdep/os/win/wposix/wutsname.cpp
|
|
unknownMacro:source/ps/CStr.cpp
|