igraph-help
[Top][All Lists]
Advanced

[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




reply via email to

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