[Bcp-tickets] [Branch-Cut-Price Framework] #21: Configure error in Bcp / OS
Branch-Cut-Price Framework
coin-trac at coin-or.org
Thu Jun 4 15:44:32 EDT 2009
#21: Configure error in Bcp / OS
-------------------------+--------------------------------------------------
Reporter: Gassmann | Owner: ladanyi
Type: defect | Status: closed
Priority: major | Milestone:
Component: component1 | Version:
Resolution: wontfix | Keywords:
-------------------------+--------------------------------------------------
Changes (by ladanyi):
* status: assigned => closed
* resolution: => wontfix
Comment:
Cannot be fixed on Bcp's end.
sys/sysinfo.h includes kernel.h that defines 'struct sysinfo', which has a
member 'char _f[20-2*sizeof(long)-sizeof(int)];', which resolves to 'char
_f[0];' on a 64-bit platform.
When configure is run, -pedantic-errors is used and then compiling 'char
_f[0];' fails. This triggers the warning. Fortunately, Bcp is compiled
without -pedantic-errors, so Bcp still compiles just fine.
Still, it would be good to find a solution that compiles and runs even
with -pedantic-errors. sysinfo is used only to find out the amount of free
memory.
--Laci
--
Ticket URL: <https://projects.coin-or.org/Bcp/ticket/21#comment:2>
Branch-Cut-Price Framework <http://projects.coin-or.org/Bcp>
A parallel framework for branch-cut-price algorithms.
More information about the Bcp-tickets
mailing list