CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /home/conan/w/cci_PR-3610/1/52c1e371-d524-4d60-a499-c76f8045a030/recipes/nlopt/all/test_package/test_package.c: In function ‘main’: /home/conan/w/cci_PR-3610/1/52c1e371-d524-4d60-a499-c76f8045a030/recipes/nlopt/all/test_package/test_package.c:139:5: warning: ‘nlopt_minimize_constrained’ is deprecated [-Wdeprecated-declarations] nlopt_minimize_constrained(NLOPT_LN_COBYLA, 5, box, NULL, 6, box_constraint, cdata, sizeof(int), box_lb, box_ub, x, &minf, -HUGE_VAL, 1e-10, 0, 0, NULL, 0, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/conan/w/cci_PR-3610/1/52c1e371-d524-4d60-a499-c76f8045a030/recipes/nlopt/all/test_package/test_package.c:1:0: /home/conan/w/cci_PR-3610/.conan/data/nlopt/2.6.2/_/_/package/8a133da8f9ed63b7eb4bdf77959d6b1491a2301b/include/nlopt.h:319:28: note: declared here NLOPT_EXTERN(nlopt_result) nlopt_minimize_constrained(nlopt_algorithm algorithm, int n, nlopt_func_old f, void *f_data, int m, nlopt_func_old fc, void *fc_data, ptrdiff_t fc_datum_size, ^~~~~~~~~~~~~~~~~~~~~~~~~~