[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gama] Problem with compiling gamma with gcc 3.4
From: |
Ales Cepek |
Subject: |
Re: [Bug-gama] Problem with compiling gamma with gcc 3.4 |
Date: |
Tue, 23 Sep 2008 12:18:52 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Thanks for your patch! (the same problem was independently reported by Jan
Pytel).
I have updated CVS archive, new version 1.9.06 should come soon
Ales
On Mon, Aug 25, 2008 at 01:29:24PM +0200, Tomas Kouba wrote:
> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-gama] Problem with compiling gamma with gcc 3.4,
Ales Cepek <=