> -----Ursprüngliche Nachricht----- > Von: Steven G. Johnson [mailto:[email protected]] > Gesendet: Montag, 24. Juni 2013 19:17 > An: Florian Dommert > Cc: [email protected] > Betreff: Re: [NLopt-discuss] unsigned vs size_t in add_constraints > > > On Jun 24, 2013, at 1:13 PM, "Florian Dommert" <[email protected] > stuttgart.de> wrote: > > Hi, > > this is surely true, but warnings are annoying in a nice clean code. > > Are you interested in a patch? Perhaps I can work one out without > > affecting the general behavior. > > > Sure. The simplest option would be to insert a few typecasts into nlopt.hpp. > Another option would be to change the C interface to use size_t, but I'm > reluctant to change the ABI without a stronger motivation.
Fine. In my own opinion, the first option is really the simplest. I will give it a try and send you a patch. Cheers, Flo _______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
