bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] build failure glpk-4.16 on solaris


From: Boris Wirtz
Subject: [Bug-glpk] build failure glpk-4.16 on solaris
Date: Wed, 6 Jun 2007 16:04:33 +0400

Hi,

apparently there is a type conflict in glpk-4.16 with the solaris type system
in respect to the ulong_t type.

The solaris manual describes (and "sys/types.h" defines) :


<solaris manual>

  32-bit Solaris
     The data types listed below are defined in <sys/types.h> for
     32-bit Solaris.

[...]

     typedef    unsigned long     ulong_t;

[...]

</solaris manual>


This obviously clashes with glplib.h :


<glplib.h>

#define ulong_t               _glp_lib_ulong_t

</glplib.h>


and leads to a compile error.

After substituting ulong_t with some other string throughout the glpk sources,
glpk compiles fine.







reply via email to

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