info-gama
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Info-gama] [Bug-gama] Problem with compiling gamma with gcc 3.4


From: Tomas Kouba
Subject: [Info-gama] [Bug-gama] Problem with compiling gamma with gcc 3.4
Date: Mon, 25 Aug 2008 13:29:24 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Dear all,

I use opensuse 11 and I have had problem with compiling gnu gamma with
its compiler gcc version 3.4. The include files are less cross referenced
in this version of gcc and so the code must be more explicit in specifying headers.

So I propose the following patch which allows gamma to be compiled on opensuse 
11:


diff -ru gama.old/lib/gamalib/pointid.cpp gama/lib/gamalib/pointid.cpp
--- gama.old/lib/gamalib/pointid.cpp    2008-08-25 13:12:44.000000000 +0200
+++ gama/lib/gamalib/pointid.cpp        2008-08-25 13:13:02.000000000 +0200
@@ -26,6 +26,7 @@
 */


+#include <stdlib.h>
#include <gamalib/pointid.h>

// typedef std::string PointID;
diff -ru gama.old/lib/gnu_gama/adj/envelope.h gama/lib/gnu_gama/adj/envelope.h
--- gama.old/lib/gnu_gama/adj/envelope.h        2008-08-25 13:12:44.000000000 
+0200
+++ gama/lib/gnu_gama/adj/envelope.h    2008-08-25 13:13:36.000000000 +0200
@@ -27,6 +27,7 @@
#define GNU_Gama_Envelope___gnu_gama_envelope___gnugamaenvelope___envelope_h


+#include <limits>
#include <gnu_gama/sparse/smatrix_graph.h>
#include <gnu_gama/sparse/smatrix_ordering.h>
#include <gnu_gama/sparse/sbdiagonal.h>
diff -ru gama.old/lib/gnu_gama/xml/localnetwork.cpp 
gama/lib/gnu_gama/xml/localnetwork.cpp
--- gama.old/lib/gnu_gama/xml/localnetwork.cpp  2008-08-25 13:12:44.000000000 
+0200
+++ gama/lib/gnu_gama/xml/localnetwork.cpp      2008-08-25 13:13:13.000000000 
+0200
@@ -24,6 +24,7 @@
 */


+#include <typeinfo>
#include <vector>
#include <iomanip>
#include <cmath>


--
Tomas Kouba


_______________________________________________
Bug-gama mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gama




reply via email to

[Prev in Thread] Current Thread [Next in Thread]