bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] compiling on solaris fails


From: Andrew Makhorin
Subject: Re: [Bug-glpk] compiling on solaris fails
Date: Fri, 9 Jan 2009 16:31:09 +0300

> compling glpmpl05.c from glpk 4.34 fails under SunOS (gcc 4.3) for me:
> glpk/src/glpmpl05.c: In function '_glp_mpl_fn_time2str':
> glpk/src/glpmpl05.c:487: error: expected identifier or '(' before
> numeric constant
> glpk/src/glpmpl05.c:489: error: lvalue required as left operand of
> assignment
> glpk/src/glpmpl05.c:490: error: lvalue required as left operand of
> assignment

> The problem seem to be that at line 487 a variable 'sun' is declared.
> Likely, 'sun' has been defined to some numeric constant in some system
> header file, since this is a Sun operating system.

Thank you for the bug report.

> Would it be possible to just rename this variable?

It is sufficient to #undef it.

I have fixed the bug. The changes will appear in the next version of
package.


Andrew Makhorin





reply via email to

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