bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] glp_version returns wrong information


From: Heinrich Schuchardt
Subject: [Bug-glpk] glp_version returns wrong information
Date: Tue, 30 Jul 2013 20:16:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130704 Icedove/17.0.7

Hello Andrew,

in configure.ac I find
AC_INIT([GLPK], [4.52.1], address@hidden)

Yet glp_version returns "4.52". Same is true for glpsol --version.

The reason is using redundant places to store version information. Configure.ac should be sole place to define the version.

To avoid future errors I suggest you add to config.h.in the following line:

#undef PACKAGE_VERSION

The configure script will then write the version information into config.h. This string should be returned be glp_version, instead of using constants GLP_MAJOR_VERSION, and GLP_MINOR_VERSION defined in glpk.h. These constants can then be eliminated.

Best regards

Heinrich Schuchardt





reply via email to

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