This patch disables concept checks in the same way as in almost all existing
gtk files in a new gtk file, since they do not work with libsigc++ 2.0.6.
It looks like they do work with a later version, since I don't get an error
on debian unstable.

This goes in now.


Georg
Index: src/frontends/gtk/GuiApplication.C
===================================================================
--- src/frontends/gtk/GuiApplication.C	(Revision 15141)
+++ src/frontends/gtk/GuiApplication.C	(Arbeitskopie)
@@ -12,6 +12,14 @@
 
 #include <config.h>
 
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCXX_CONCEPT_CHECKS
+#undef _GLIBCXX_CONCEPT_CHECKS
+#endif
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
 #include "GuiApplication.h"
 
 #include "GView.h"

Reply via email to