~widelands-dev/widelands/trunk

Viewing all changes in revision 8383.

Merged lp:~widelands-dev/widelands/compiler_warnings_20170619:
Fixed diverse compiler warnings:
- Fixed floor/double warnings
- Removed assertion in Battle::opponent that would always evaluate to true
- Switched off "disabled-macro-expansion" warning for clang with third-party macro ublock_getCode.
- Switched off "format" warning around printf statements with %p
- Added a missing override
- Added a virtual dtor to lua_errors, to avoid inline virtual methods. Turned some exception structs into classes.
- Fix warnings with unused variables in netclient/host
- Made some functions in lua_map.cc inline to address -Wmissing-prototypes in clang
- Added "-Wno-switch-enum" to compiler flags for clang

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: