widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #10468
[Merge] lp:~widelands-dev/widelands/compiler_warnings_20170619 into lp:widelands
The proposal to merge lp:~widelands-dev/widelands/compiler_warnings_20170619 into lp:widelands has been updated.
Commit Message changed to:
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
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/compiler_warnings_20170619/+merge/325952
--
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/compiler_warnings_20170619.
References