[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-glpk] compiling on solaris fails
From: |
Stefan Vigerske |
Subject: |
[Bug-glpk] compiling on solaris fails |
Date: |
Sat, 3 Jan 2009 21:17:55 +0300 |
Hi,
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.
Would it be possible to just rename this variable?
Thanks,
Stefan
- [Bug-glpk] compiling on solaris fails,
Stefan Vigerske <=