GithubHelp home page GithubHelp logo

Configure error in Bcp / OS about bcp HOT 5 CLOSED

coin-or avatar coin-or commented on August 26, 2024
Configure error in Bcp / OS

from bcp.

Comments (5)

svigerske avatar svigerske commented on August 26, 2024

Comment by ladanyi created at 2009-06-04 03:48:59

Hello,

Could you provide some more info? Which version of ubuntu are you using? The problem is that before sys/sysinfo.h is tested I need to test for some other header, but I don't know which header to test for. On ubuntu 8.04 (32-bit) this issue does not come up. Look at this post and its follow-ups: http://gmplib.org/list-archives/gmp-bugs/2007-October/000852.html.
Could I login to your setup so that I could test it?

Thanks,
--Laci

from bcp.

svigerske avatar svigerske commented on August 26, 2024

Comment by ladanyi created at 2009-06-04 03:48:59

Changing assignee from somebody to ladanyi.

from bcp.

svigerske avatar svigerske commented on August 26, 2024

Comment by ladanyi created at 2009-06-04 03:48:59

Changing status from new to assigned.

from bcp.

svigerske avatar svigerske commented on August 26, 2024

Comment by ladanyi created at 2009-06-04 19:44:32

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

from bcp.

svigerske avatar svigerske commented on August 26, 2024

Comment by ladanyi created at 2009-06-04 19:44:32

Resolution: wontfix

from bcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.