BOOST ... disabled expansion of recursive macro

Bug #1698061 reported by Klaus Halfmann
6
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/scripting/test/test_luna.cc:326:1: warning: disabled expansion of recursive macro
      [-Wdisabled-macro-expansion]
BOOST_AUTO_TEST_CASE(test_luna_multibase_property_set) {

can we avoid these? they tend to obfuscate other compiler warnings.

Tags: cleanups

Related branches

Revision history for this message
GunChleoc (gunchleoc) wrote :

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"

tags: added: cleanups
Revision history for this message
GunChleoc (gunchleoc) wrote :

I disabled the warning for the 2 entries in bidi.cc - that's a third-party macro, so we can't fix it anyway. Let's see what your clang says about that :)

GunChleoc (gunchleoc)
Changed in widelands:
status: New → Fix Committed
milestone: none → build20-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build20-rc1

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.