[Ipopt-tickets] Re: [Ipopt] #38: !AddIpopt*Option char* arguments as '''const''' char*

Ipopt coin-trac at coin-or.org
Tue Oct 9 14:07:22 EDT 2007


#38: !AddIpopt*Option char* arguments as '''const''' char*
--------------------------------+-------------------------------------------
  Reporter:  rafael             |       Owner:  andreasw
      Type:  enhancement        |      Status:  assigned
  Priority:  normal             |   Component:  Ipopt   
   Version:  3.2 (C++ Version)  |    Severity:  minor   
Resolution:                     |    Keywords:          
--------------------------------+-------------------------------------------
Comment (by rafael):

 Hi Andreas,

 Regarding the '''const''' keyword being part of ANSI C, I found
 [http://www.ericgiguere.com/articles/ansi-c-summary.html this article]
 dating from 1987 telling that '''const''' was ''recently'' introduced.

 So it is 20 years old and I guess all ANSI C compilers should support it
 today.

 I'm particularly interested in this enhancement because it will remove the
 warnings when compiling the Ipopt Java Interface.

 Regards.

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/38#comment:5>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list