[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Re: patch for igraph-0.5 gcc-4.3
From: |
Gabor Csardi |
Subject: |
[igraph] Re: patch for igraph-0.5 gcc-4.3 |
Date: |
Sun, 17 Feb 2008 00:46:38 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Neal, thanks, unfortunately igraph 0.5 was already released
when you sent the patches for gcc 4.3 compilation, that's why
they're not included. I'll commit them in a minute, so they will
be in the next release.
Gabor
On Sat, Feb 16, 2008 at 03:56:18PM -0500, Neal Becker wrote:
> Here is the patch needed to build on gcc-4.3 for fedora9:
> diff --git a/src/bliss_graph.cc b/src/bliss_graph.cc
> --- a/src/bliss_graph.cc
> +++ b/src/bliss_graph.cc
> @@ -25,6 +25,7 @@
> #include "bliss_timer.hh"
> #include "bliss_graph.hh"
> #include "bliss_partition.hh"
> +#include <limits.h> // INT_MAX,etc
>
> namespace igraph {
>
> diff --git a/src/bliss_kqueue.hh b/src/bliss_kqueue.hh
> --- a/src/bliss_kqueue.hh
> +++ b/src/bliss_kqueue.hh
> @@ -19,6 +19,7 @@
> #define KQUEUE_HH
>
> #include "bliss_defs.hh"
> +#include <cstdlib> // malloc
>
> namespace igraph {
>
> diff --git a/src/bliss_kstack.hh b/src/bliss_kstack.hh
> --- a/src/bliss_kstack.hh
> +++ b/src/bliss_kstack.hh
> @@ -19,6 +19,7 @@
> #define KSTACK_H
>
> #include "bliss_defs.hh"
> +#include <cstdlib> // malloc
>
> namespace igraph {
>
> diff --git a/src/walktrap_graph.cpp b/src/walktrap_graph.cpp
> --- a/src/walktrap_graph.cpp
> +++ b/src/walktrap_graph.cpp
> @@ -29,6 +29,7 @@
> #include <fstream>
> #include <sstream>
> #include <algorithm>
> +#include <cstring> // strlen
> #include "walktrap_graph.h"
>
> using namespace std;
--
Csardi Gabor <address@hidden> UNIL DGM
- [igraph] igraph-0.4.5 gcc-4.3 build failures, Neal Becker, 2008/02/13
- Re: [igraph] igraph-0.4.5 gcc-4.3 build failures, Tamas Nepusz, 2008/02/13
- Re: [igraph] igraph-0.4.5 gcc-4.3 build failures, Gabor Csardi, 2008/02/13
- Re: [igraph] igraph-0.4.5 gcc-4.3 build failures, Neal Becker, 2008/02/13
- Re: [igraph] igraph-0.4.5 gcc-4.3 build failures, Neal Becker, 2008/02/13
- Re: [igraph] igraph-0.4.5 gcc-4.3 build failures, Gabor Csardi, 2008/02/14
- Re: [igraph] igraph-0.4.5 gcc-4.3 build failures, Neal Becker, 2008/02/14
- [igraph] patch for igraph-0.5 gcc-4.3, Neal Becker, 2008/02/16
- [igraph] Re: patch for igraph-0.5 gcc-4.3,
Gabor Csardi <=