[PPL-devel] Problem in GLPK 3.1

Roberto Bagnara bagnara at cs.unipr.it
Thu Jun 20 08:26:33 CEST 2002


Hi there,

we are using GLPK services from a C++ application.
After upgrading from GLPK 3.0.6 to GLPK 3.1 we are
having compilation problems due to the fact that
`class' is a keyword in C++ and so cannot be used
as an identifier.  The problematic lines in glpk.h
are lines 297 and 598, reading

       int class;

and

void lpx_set_class(LPX *lp, int class);

respectively.
All the best, and thank you for GLPK

     Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it




More information about the PPL-devel mailing list