URL:
<http://gna.org/bugs/?10334>
Summary: linker error with gcc 4.3.0
Project: Battle for Wesnoth
Submitted by: madossor
Submitted on: Donnerstag 15.11.2007 um 19:18
Category: Bug
Severity: 2 - Minor
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: 1.2.7
Operating System: Linux
_______________________________________________________
Details:
when building Wesnoth 1.2.7 with gcc 4.3.0, I've got a linker error when
linking campaign_server/campaign_server.cpp, regarding STL functions.
To fix this I had to add #include <algorithm> to campaign_server.cpp.
Just wanted you to know.
++++++ compile-fix.diff ++++++
diff -ruN wesnoth-1.2.7/src/campaign_server/campaign_server.cpp
wesnoth-n/src/campaign_server/campaign_server.cpp
--- wesnoth-1.2.7/src/campaign_server/campaign_server.cpp 2006-12-16
22:39:31.000000000 +0100
+++ wesnoth-n/src/campaign_server/campaign_server.cpp 2007-11-15
12:33:55.000000000 +0100
@@ -10,7 +10,7 @@
See the COPYING file for more details.
*/
-
+#include <algorithm>
#include "config.hpp"
#include "filesystem.hpp"
#include "log.hpp"
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?10334>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs