Skip to content
This repository was archived by the owner on Dec 14, 2020. It is now read-only.
This repository was archived by the owner on Dec 14, 2020. It is now read-only.

Couenne fails to build with gcc 6.2.1 #27

@mlubin

Description

@mlubin

I know this is an upstream issue (maybe even fixed already), but opening this to keep track on the julia side. On ArchLinux with gcc 6.2.1, I get the following error:

In file included from /usr/include/c++/6.2.1/string:52:0,
                 from /home/mlubin/.julia/v0.5/Cbc/deps/usr/include/coin/CoinError.hpp:9,
                 from /home/mlubin/.julia/v0.5/Cbc/deps/usr/include/coin/CoinHelperFunctions.hpp:25,
                 from ../../../../Couenne/src/problem/../readnl/readnl.cpp:17:
/usr/include/c++/6.2.1/bits/basic_string.h: In function 'double std::__cxx11::stod(const string&, std::size_t*)':
/usr/include/c++/6.2.1/bits/basic_string.h:5443:31: error: 'strtod_ASL' is not a member of 'std'
   { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
                               ^~~
/usr/include/c++/6.2.1/bits/basic_string.h:5443:31: note: suggested alternative:
In file included from ../../../../Couenne/src/problem/../readnl/readnl.cpp:11:0:
/home/mlubin/.julia/v0.5/Ipopt/deps/usr/include/coin/ThirdParty/asl.h:1107:16: note:   'strtod_ASL'
  extern double strtod_ASL(Const char*, char**);
                ^~~~~~~~~~
make[2]: *** [Makefile:503: readnl.lo] Error 1
make[2]: Leaving directory '/home/mlubin/.julia/v0.5/CoinOptServices/deps/src/OS-2.9.2/build/Couenne/src/problem'
make[1]: *** [Makefile:476: all-recursive] Error 1
make[1]: Leaving directory '/home/mlubin/.julia/v0.5/CoinOptServices/deps/src/OS-2.9.2/build/Couenne'
make: *** [Makefile:310: all-recursive] Error 1

CC @chriscoey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions