Dear all,
I'm moving my project to Windows 64bits.
Till now everything seems working except a small annoying compilation
warning.
2>C:\mv\Projects\Selectome\codeml\fast\nlopt\nlopt-2.2.4\api\nlopt.hpp(412):
warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int',
possible loss of data
2>C:\mv\Projects\Selectome\codeml\fast\nlopt\nlopt-2.2.4\api\nlopt.hpp(441):
warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int',
possible loss of data
2>C:\mv\Projects\Selectome\codeml\fast\nlopt\nlopt-2.2.4\api\nlopt.hpp(471):
warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int',
possible loss of data
2>C:\mv\Projects\Selectome\codeml\fast\nlopt\nlopt-2.2.4\api\nlopt.hpp(481):
warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int',
possible loss of data
Is it possible in all four places to put:
static_cast<unsigned int>(tol.size())
instead of:
tol.size()
?
I think changing instead nlopt_add_inequality_mconstraint() second
argument to size_t is not possible (this changes C api).
Thanks!
mario
--
Ing. Mario Valle
Data Analysis and Visualization | http://mariovalle.name/
Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60
v. Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss