Author: suokko
Date: Fri Jun 13 11:01:44 2008
New Revision: 27143

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27143&view=rev
Log:
Fixing compilation of unit_types.hpp with gcc 4.3

Added:
    trunk/src/disable_gcc_concept_checks.hpp   (with props)
Modified:
    trunk/src/unit_types.hpp

Added: trunk/src/disable_gcc_concept_checks.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/disable_gcc_concept_checks.hpp?rev=27143&view=auto
==============================================================================
--- trunk/src/disable_gcc_concept_checks.hpp (added)
+++ trunk/src/disable_gcc_concept_checks.hpp Fri Jun 13 11:01:44 2008
@@ -1,0 +1,27 @@
+/* $Id$ */
+/*
+   Copyright (C) 2008 by David White <[EMAIL PROTECTED]>
+   Part of the Battle for Wesnoth Project http://www.wesnoth.org/
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License version 2
+   or at your option any later version.
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY.
+
+   See the COPYING file for more details.
+*/
+
+
+#ifndef DISABLE_GCC_CONCEPT_CHECK_HPP_INCLUDED
+#define DISABLE_GCC_CONCEPT_CHECK_HPP_INCLUDED
+
+#ifdef _GLIBCXX_CONCEPT_CHECKS
+#undef _GLIBCXX_CONCEPT_CHECKS
+#endif
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
+
+#endif

Propchange: trunk/src/disable_gcc_concept_checks.hpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/src/disable_gcc_concept_checks.hpp
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: trunk/src/unit_types.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_types.hpp?rev=27143&r1=27142&r2=27143&view=diff
==============================================================================
--- trunk/src/unit_types.hpp (original)
+++ trunk/src/unit_types.hpp Fri Jun 13 11:01:44 2008
@@ -14,6 +14,7 @@
 #ifndef UNIT_TYPES_H_INCLUDED
 #define UNIT_TYPES_H_INCLUDED
 
+#include "disable_gcc_concept_checks.hpp"
 #include "unit_animation.hpp"
 #include "config.hpp"
 #include "map.hpp"


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to