BOOST ... disabled expansion of recursive macro
Bug #1698061 reported by
Klaus Halfmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
when compiling on OSX with LLVM I always get some nasty warnings like
.../src/
[
BOOST_AUTO_
can we avoid these? they tend to obfuscate other compiler warnings.
Related branches
lp:~widelands-dev/widelands/compiler_warnings_062017
Rejected
for merging
into
lp:widelands
- Klaus Halfmann: Approve (compile, play)
-
Diff: 583 lines (+106/-43)20 files modifiedCMakeLists.txt (+8/-0)
src/base/wexception.h (+5/-5)
src/economy/economy.cc (+2/-0)
src/economy/ware_instance.cc (+2/-0)
src/graphic/animation.cc (+1/-1)
src/graphic/text/bidi.cc (+4/-0)
src/io/filesystem/filesystem_exceptions.h (+10/-6)
src/io/streamread.h (+2/-1)
src/logic/map_objects/bob.cc (+8/-1)
src/logic/map_objects/immovable.cc (+4/-0)
src/logic/map_objects/tribes/building.cc (+4/-0)
src/logic/map_objects/tribes/worker.cc (+10/-0)
src/network/gamehost.cc (+1/-2)
src/network/netclient.cc (+5/-0)
src/network/nethost.cc (+6/-0)
src/scripting/lua_errors.cc (+1/-0)
src/scripting/lua_map.cc (+6/-6)
src/scripting/test/test_luna.cc (+25/-19)
src/ui_basic/progressbar.cc (+1/-1)
src/ui_fsmenu/launch_spg.h (+1/-1)
lp:~widelands-dev/widelands/compiler_warnings_20170619
- Klaus Halfmann: Needs Resubmitting
- GunChleoc: Pending requested
-
Diff: 813 lines (+146/-53)34 files modifiedCMakeLists.txt (+6/-0)
src/base/macros.h (+15/-0)
src/base/wexception.h (+5/-5)
src/economy/economy.cc (+2/-0)
src/economy/test/CMakeLists.txt (+1/-0)
src/economy/test/test_road.cc (+3/-0)
src/economy/test/test_routing.cc (+4/-0)
src/economy/ware_instance.cc (+2/-0)
src/editor/ui_menus/main_menu_random_map.cc (+0/-2)
src/graphic/animation.cc (+1/-1)
src/graphic/text/bidi.cc (+4/-0)
src/io/filesystem/filesystem_exceptions.h (+10/-6)
src/io/filesystem/test/CMakeLists.txt (+1/-0)
src/io/filesystem/test/test_filesystem.cc (+4/-0)
src/io/streamread.h (+2/-1)
src/logic/map_objects/bob.cc (+8/-1)
src/logic/map_objects/immovable.cc (+4/-0)
src/logic/map_objects/tribes/building.cc (+4/-0)
src/logic/map_objects/tribes/soldier.cc (+1/-2)
src/logic/map_objects/tribes/worker.cc (+10/-0)
src/network/gamehost.cc (+1/-2)
src/network/netclient.cc (+5/-0)
src/network/nethost.cc (+6/-0)
src/notifications/test/CMakeLists.txt (+1/-0)
src/notifications/test/notifications_test.cc (+4/-0)
src/scripting/lua_errors.cc (+1/-0)
src/scripting/lua_game.cc (+0/-2)
src/scripting/lua_map.cc (+6/-6)
src/scripting/test/CMakeLists.txt (+1/-0)
src/scripting/test/test_luna.cc (+29/-19)
src/ui_basic/progressbar.cc (+1/-1)
src/ui_fsmenu/launch_spg.h (+1/-1)
src/wui/game_message_menu.cc (+3/-2)
src/wui/shipwindow.cc (+0/-2)
Changed in widelands: | |
status: | New → Fix Committed |
milestone: | none → build20-rc1 |
To post a comment you must log in.
I tried to fix these before and I failed, because I don't have clang and a fix wasn't obvious.
I have started a new branch for current compiler warnings:
https:/ /code.launchpad .net/~widelands -dev/widelands/ compiler_ warnings_ 062017
GCC is clean now, but I don't have clang myself.
Note that I just pushed a change, you can use "bzr shelve" combined with "bzr uncommmit" if you changed anything in your local cops since then. After pulling the branch, add you changes again with "bzr unshelve" and "bzr commit"