dfhack/library
Pauli 8484b5dc8a Add parameter type checks to printf style functions
gcc supports type checks for printf parameters which can catch some hard
to reproduce bugs. Possible bugs happen when the parameter value is
intepreted differently to the variable value.

Example warnings follow
../library/LuaWrapper.cpp:1011:86: warning: format ‘%llu’ expects argument
    of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t
    {aka long unsigned int}’ [-Wformat=]
../plugins/follow.cpp:159:35: warning: format not a string literal and no
    format arguments [-Wformat-security]
2018-06-11 19:27:35 +03:00
..
DataStaticsFields Split DataStaticsFields into multiple compilation units 2016-03-22 17:34:25 -04:00
include Add parameter type checks to printf style functions 2018-06-11 19:27:35 +03:00
lua Merge remote-tracking branch 'grubsteak/patch-2' into develop 2018-06-08 22:05:20 -04:00
modules Remove Vermin module (unused and obsolete) 2018-06-01 00:22:10 -04:00
proto Improve protobuf file regeneration (no longer uses a dummy status.txt file) 2016-10-24 22:51:27 -04:00
xml@c3025feb80 Update changelog, submodules for r1 2018-05-18 14:30:09 -04:00
CMakeLists.txt Remove Vermin module (unused and obsolete) 2018-06-01 00:22:10 -04:00
ColorText.cpp Fix crash in vprinterr due to va_list misuse 2016-07-03 23:33:07 -04:00
Console-posix.cpp Fix signed/unsigned comparison warnings in core. 2018-04-05 16:47:47 -05:00
Console-windows.cpp Blocked errant line feed at full buffer 2017-12-22 13:42:59 +01:00
Core.cpp Make fpause pause worldgen 2018-05-05 16:08:06 -04:00
DFHackVersion.cpp Add ABI version symbol to plugins 2018-03-10 16:55:00 -05:00
DataDefs.cpp Set last_item_value properly for complex enums 2018-04-09 16:11:47 -04:00
DataStatics.cpp Add support for primitive type fields in lua wrapper. 2012-03-20 13:56:29 +04:00
DataStaticsCtor.cpp Header changes/cleanup. 2011-12-31 12:48:42 +01:00
DataStaticsFields.cpp Lua API: add get_vector() and support for renaming class methods 2017-12-23 20:18:55 -05:00
Error.cpp Add function names to NullPointer and InvalidArgument exceptions 2018-05-11 09:49:27 -04:00
Hooks-darwin.cpp replacment -> replacement 2017-06-10 19:41:59 -04:00
Hooks-egg.cpp Fix bug #188, eggy hook 2013-04-24 17:50:34 +02:00
Hooks-linux.cpp headless: Disable sound, wgetch 2018-02-04 00:17:46 -05:00
Hooks-windows.cpp Add parameter type checks to printf style functions 2018-06-11 19:27:35 +03:00
LuaApi.cpp Merge remote-tracking branch 'grubsteak/patch-1' into develop 2018-05-18 00:48:04 -04:00
LuaTools.cpp Fix some warnings with GCC -Wall 2016-10-15 00:37:18 -04:00
LuaTypes.cpp Refactor DFHack exception classes 2018-02-05 19:18:35 -05:00
LuaWrapper.cpp Add next_item, _complex for complex enums 2018-04-09 19:46:12 -04:00
MiscUtils.cpp Fix compile errors on Ubuntu 18.04 Bionic Beaver 2018-03-08 11:42:58 -06:00
PlugLoad-posix.cpp Remove AS prefixes from add-spatter.cpp 2015-02-19 12:05:32 -05:00
PlugLoad-windows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
PluginManager.cpp Add ABI version symbol to plugins 2018-03-10 16:55:00 -05:00
Process-darwin.cpp Fix some warnings on OS X 2018-05-12 18:46:58 -04:00
Process-linux.cpp Remove or comment out unused code. 2018-04-05 16:48:11 -05:00
Process-windows.cpp Fix RTTI in Win64 - offsets are relative to the current module (e.g. the DLL), so it needs to be looked up explicitly 2017-01-21 15:16:06 -06:00
RemoteClient.cpp Update clsocket and Open()/Listen() usage 2016-06-14 13:21:51 -04:00
RemoteServer.cpp Do some checks before trying to read json files. 2018-02-13 20:02:42 +05:30
RemoteTools.cpp Merge remote-tracking branch 'remotes/DFHack/develop' into RemoteServerUnsafe 2018-02-12 20:19:40 +05:30
TileTypes.cpp Implement a MapCache api for writing base layer tiles of arbitrary stone. 2013-10-10 12:15:50 +04:00
Types.cpp Add Filesystem::listdir() 2015-01-28 19:15:58 -05:00
VTableInterpose.cpp Fix follow_jmp for 64-bit code - skip REX prefix if found 2016-09-25 18:29:57 -05:00
VersionInfoFactory.cpp Correct bad os-type attributes in symbols.xml 2018-01-14 22:56:35 -05:00
binpatch.cpp Fix the error message produced by binpatch when a mismatch is detected. 2012-10-27 15:35:11 +04:00
dfhack-run.cpp Support calling a lua function via a protobuf request. 2014-02-10 20:09:06 +04:00
git-describe.cmake Make git-describe.cmake detect changes to itself 2018-03-10 16:55:20 -05:00