URL:
<http://gna.org/bugs/?23601>
Summary: build fails with gcc 5.1.1 (fedora)
Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 19 May 2015 12:23:05 AM UTC
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: git
Operating System: linux
_______________________________________________________
Details:
I tried to build wesnoth-git @ c6d6114a8c80f8080252d679a82ec2c24491c3ae (via
cmake) on fedora 22-preview which had gcc 5.1.1 installed, but the build
failed:
[ 78%] Building CXX object src/CMakeFiles/wesnoth.dir/unit_filter.cpp.o
/home/matthias/wesnoth/src/unit_filter.cpp:100:14: error:
‘conditional::warning_suppressor’ defined but not used
[-Werror=unused-variable]
static TYPE warning_suppressor = string_to_TYPE_default("foo", NOT);
^
cc1plus: all warnings being treated as errors
src/CMakeFiles/wesnoth.dir/build.make:9553: recipe for target
'src/CMakeFiles/wesnoth.dir/unit_filter.cpp.o' failed
make[2]: *** [src/CMakeFiles/wesnoth.dir/unit_filter.cpp.o] Error 1
CMakeFiles/Makefile2:242: recipe for target 'src/CMakeFiles/wesnoth.dir/all'
failed
make[1]: *** [src/CMakeFiles/wesnoth.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23601>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs