[Top][All Lists]

[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


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 :


#define ulong_t               _glp_lib_ulong_t


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]