[Ipopt-tickets] [Ipopt] #266: Compiling Ipopt with c++11 standard fails
Ipopt
coin-trac at coin-or.org
Thu Jul 30 19:29:52 EDT 2015
#266: Compiling Ipopt with c++11 standard fails
-------------------+------------------------
Reporter: aykut | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.12 | Severity: normal
Keywords: |
-------------------+------------------------
Compiling Ipopt under linux with gcc 4.7.2 with flag -std=c++11 fails. Due
to a change in the c++ standard. In c++ 11 standard a space between string
concatenation is mandatory. Ipopt source file src/Algorithm/IpIpoptAlg.cpp
violates this in line 265.
More information on c++ 11 standard update:
http://stackoverflow.com/questions/10329942/error-unable-to-find-string-
literal-operator-slashes
I attached a patch file that fixes the problem.
Aykut
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/266>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list