>>> Building on exopi-1 under math/fann BDEPENDS = [devel/ninja;devel/cmake;devel/gmake] DIST = [math/fann:fann-2.2.0.tar.gz] FULLPKGNAME = fann-2.2.0 (Junk lock obtained for exopi-1 at 1735137479.67) >>> Running depends in math/fann at 1735137479.72 last junk was in devel/py-openbsd /usr/sbin/pkg_add -aI -Drepair cmake-3.31.2v1 ninja-1.11.1p0v0 was: /usr/sbin/pkg_add -aI -Drepair cmake-3.31.2v1 gmake-4.4.1 ninja-1.11.1p0v0 /usr/sbin/pkg_add -aI -Drepair cmake-3.31.2v1 ninja-1.11.1p0v0 >>> Running show-prepare-results in math/fann at 1735137481.63 ===> math/fann ===> Building from scratch fann-2.2.0 ===> fann-2.2.0 depends on: cmake-* -> cmake-3.31.2v1 ===> fann-2.2.0 depends on: ninja-* -> ninja-1.11.1p0v0 ===> fann-2.2.0 depends on: gmake-* -> gmake-4.4.1 cmake-3.31.2v1 gmake-4.4.1 ninja-1.11.1p0v0 (Junk lock released for exopi-1 at 1735137482.64) distfiles size=2226352 >>> Running build in math/fann at 1735137482.70 ===> math/fann ===> Checking files for fann-2.2.0 `/exopi-cvs/ports/distfiles/fann-2.2.0.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for fann-2.2.0 ===> Patching for fann-2.2.0 ===> Applying OpenBSD patch patch-examples_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- examples/Makefile.orig Wed Mar 8 17:35:04 2017 |+++ examples/Makefile Wed Mar 8 17:36:12 2017 -------------------------- Patching file examples/Makefile using Plan A... Hunk #1 succeeded at 9. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for fann-2.2.0 ===> Configuring for fann-2.2.0 CMake Warning (dev) at CMakeLists.txt:1 (PROJECT): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is Clang 16.0.6 -- The CXX compiler identification is Clang 16.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /exopi-obj/pobj/fann-2.2.0/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /exopi-obj/pobj/fann-2.2.0/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- FANN is used as APPLICATION_NAME -- Configuring done (1.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER_AR CMAKE_ASM_COMPILER_RANLIB CMAKE_Fortran_COMPILER_AR CMAKE_Fortran_COMPILER_RANLIB CMAKE_OBJCXX_COMPILER_AR CMAKE_OBJCXX_COMPILER_RANLIB CMAKE_OBJC_COMPILER_AR CMAKE_OBJC_COMPILER_RANLIB -- Build files have been written to: /exopi-obj/pobj/fann-2.2.0/build-amd64 ===> Building for fann-2.2.0 Change Dir: '/exopi-obj/pobj/fann-2.2.0/build-amd64' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/12] /exopi-obj/pobj/fann-2.2.0/bin/cc -D_REENTRANT -Dfloatfann_EXPORTS -I/exopi-obj/pobj/fann-2.2.0/build-amd64/src/include -I/exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include -O2 -pipe -DNDEBUG -fPIC -MD -MT src/CMakeFiles/floatfann.dir/floatfann.c.o -MF src/CMakeFiles/floatfann.dir/floatfann.c.o.d -o src/CMakeFiles/floatfann.dir/floatfann.c.o -c /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:233:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:241:41: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[tmp_con] = (fann_type) fann_random_bias_weight(); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:148:36: note: expanded from macro 'fann_random_bias_weight' #define fann_random_bias_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:281:54: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[neuron_it->first_con] = (fann_type) fann_random_bias_weight(); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:148:36: note: expanded from macro 'fann_random_bias_weight' #define fann_random_bias_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:293:35: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] random_number = (int) (0.5 + fann_rand(0, num_neurons_out - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:305:37: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:325:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] random_number = (int) (0.5 + fann_rand(0, num_neurons_in - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:344:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:511:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:821:27: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] *weights = (fann_type) (fann_rand(min_weight, max_weight)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:1188:46: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[num_connect] = (fann_type) fann_rand(-scale_factor, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:1196:46: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[num_connect] = (fann_type) fann_rand(0, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:27: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_train.c:822:63: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] next_step = prev_step * decrease_factor + (float)rand() / RAND_MAX * RMSE * (fann_type)fann_exp2(-T * epoch + step_error_shift); ~ ^~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:29: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_error.c:116:15: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start(ap, errno_f); ^ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_error.c:93:71: note: parameter of type 'const enum fann_errno_enum' is declared here void fann_error(struct fann_error *errdat, const enum fann_errno_enum errno_f, ...) ^ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:30: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_cascade.c:355:22: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = fann_rand(-scale_factor, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:30: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_cascade.c:357:22: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = fann_rand(0,scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ 15 warnings generated. [2/12] : && /exopi-obj/pobj/fann-2.2.0/bin/cc -fPIC -O2 -pipe -DNDEBUG -Xlinker --dependency-file=src/CMakeFiles/floatfann.dir/link.d -shared -Wl,-soname,libfloatfann.so.1.0 -o src/libfloatfann.so.1.0 src/CMakeFiles/floatfann.dir/floatfann.c.o -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : [3/12] /usr/local/bin/cmake -E cmake_symlink_library src/libfloatfann.so.1.0 src/libfloatfann.so.1.0 src/libfloatfann.so && : [4/12] /exopi-obj/pobj/fann-2.2.0/bin/cc -D_REENTRANT -Ddoublefann_EXPORTS -I/exopi-obj/pobj/fann-2.2.0/build-amd64/src/include -I/exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include -O2 -pipe -DNDEBUG -fPIC -MD -MT src/CMakeFiles/doublefann.dir/doublefann.c.o -MF src/CMakeFiles/doublefann.dir/doublefann.c.o.d -o src/CMakeFiles/doublefann.dir/doublefann.c.o -c /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:233:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:241:41: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[tmp_con] = (fann_type) fann_random_bias_weight(); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:148:36: note: expanded from macro 'fann_random_bias_weight' #define fann_random_bias_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:281:54: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[neuron_it->first_con] = (fann_type) fann_random_bias_weight(); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:148:36: note: expanded from macro 'fann_random_bias_weight' #define fann_random_bias_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:293:35: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] random_number = (int) (0.5 + fann_rand(0, num_neurons_out - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:305:37: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:325:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] random_number = (int) (0.5 + fann_rand(0, num_neurons_in - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:344:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:511:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:821:27: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] *weights = (fann_type) (fann_rand(min_weight, max_weight)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:1188:46: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[num_connect] = (fann_type) fann_rand(-scale_factor, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:1196:46: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[num_connect] = (fann_type) fann_rand(0, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:27: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_train.c:822:63: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] next_step = prev_step * decrease_factor + (float)rand() / RAND_MAX * RMSE * (fann_type)fann_exp2(-T * epoch + step_error_shift); ~ ^~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:29: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_error.c:116:15: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start(ap, errno_f); ^ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_error.c:93:71: note: parameter of type 'const enum fann_errno_enum' is declared here void fann_error(struct fann_error *errdat, const enum fann_errno_enum errno_f, ...) ^ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:30: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_cascade.c:355:22: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = fann_rand(-scale_factor, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/doublefann.c:30: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_cascade.c:357:22: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = fann_rand(0,scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ 15 warnings generated. [5/12] : && /exopi-obj/pobj/fann-2.2.0/bin/cc -fPIC -O2 -pipe -DNDEBUG -Xlinker --dependency-file=src/CMakeFiles/doublefann.dir/link.d -shared -Wl,-soname,libdoublefann.so.1.0 -o src/libdoublefann.so.1.0 src/CMakeFiles/doublefann.dir/doublefann.c.o -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : [6/12] /usr/local/bin/cmake -E cmake_symlink_library src/libdoublefann.so.1.0 src/libdoublefann.so.1.0 src/libdoublefann.so && : [7/12] /exopi-obj/pobj/fann-2.2.0/bin/cc -D_REENTRANT -Dfixedfann_EXPORTS -I/exopi-obj/pobj/fann-2.2.0/build-amd64/src/include -I/exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include -O2 -pipe -DNDEBUG -fPIC -MD -MT src/CMakeFiles/fixedfann.dir/fixedfann.c.o -MF src/CMakeFiles/fixedfann.dir/fixedfann.c.o.d -o src/CMakeFiles/fixedfann.dir/fixedfann.c.o -c /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:233:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:140:42: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_type)(fann_rand(0,multiplier/10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:241:41: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[tmp_con] = (fann_type) fann_random_bias_weight(); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:141:47: note: expanded from macro 'fann_random_bias_weight' #define fann_random_bias_weight() (fann_type)(fann_rand((0-multiplier)/10,multiplier/10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:281:54: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[neuron_it->first_con] = (fann_type) fann_random_bias_weight(); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:141:47: note: expanded from macro 'fann_random_bias_weight' #define fann_random_bias_weight() (fann_type)(fann_rand((0-multiplier)/10,multiplier/10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:293:35: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] random_number = (int) (0.5 + fann_rand(0, num_neurons_out - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:305:37: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:140:42: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_type)(fann_rand(0,multiplier/10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:325:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] random_number = (int) (0.5 + fann_rand(0, num_neurons_in - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:344:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:140:42: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_type)(fann_rand(0,multiplier/10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:511:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:140:42: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_type)(fann_rand(0,multiplier/10)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:821:27: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] *weights = (fann_type) (fann_rand(min_weight, max_weight)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:1186:19: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] (fann_type) fann_rand(-scale_factor, scale_factor * multiplier); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:1194:46: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[num_connect] = (fann_type) fann_rand(0, scale_factor * multiplier); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fixedfann.c:29: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_error.c:116:15: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start(ap, errno_f); ^ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_error.c:93:71: note: parameter of type 'const enum fann_errno_enum' is declared here void fann_error(struct fann_error *errdat, const enum fann_errno_enum errno_f, ...) ^ 12 warnings generated. [8/12] : && /exopi-obj/pobj/fann-2.2.0/bin/cc -fPIC -O2 -pipe -DNDEBUG -Xlinker --dependency-file=src/CMakeFiles/fixedfann.dir/link.d -shared -Wl,-soname,libfixedfann.so.1.0 -o src/libfixedfann.so.1.0 src/CMakeFiles/fixedfann.dir/fixedfann.c.o -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : [9/12] /usr/local/bin/cmake -E cmake_symlink_library src/libfixedfann.so.1.0 src/libfixedfann.so.1.0 src/libfixedfann.so && : [10/12] /exopi-obj/pobj/fann-2.2.0/bin/cc -D_REENTRANT -Dfann_EXPORTS -I/exopi-obj/pobj/fann-2.2.0/build-amd64/src/include -I/exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include -O2 -pipe -DNDEBUG -fPIC -MD -MT src/CMakeFiles/fann.dir/floatfann.c.o -MF src/CMakeFiles/fann.dir/floatfann.c.o.d -o src/CMakeFiles/fann.dir/floatfann.c.o -c /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:233:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:241:41: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[tmp_con] = (fann_type) fann_random_bias_weight(); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:148:36: note: expanded from macro 'fann_random_bias_weight' #define fann_random_bias_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:281:54: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[neuron_it->first_con] = (fann_type) fann_random_bias_weight(); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:148:36: note: expanded from macro 'fann_random_bias_weight' #define fann_random_bias_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:293:35: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] random_number = (int) (0.5 + fann_rand(0, num_neurons_out - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:305:37: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:325:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] random_number = (int) (0.5 + fann_rand(0, num_neurons_in - 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:344:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:511:36: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = (fann_type) fann_random_weight(); ^~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:147:31: note: expanded from macro 'fann_random_weight' #define fann_random_weight() (fann_rand(-0.1f,0.1f)) ^~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:821:27: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] *weights = (fann_type) (fann_rand(min_weight, max_weight)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:1188:46: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[num_connect] = (fann_type) fann_rand(-scale_factor, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:25: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann.c:1196:46: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[num_connect] = (fann_type) fann_rand(0, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:27: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_train.c:822:63: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] next_step = prev_step * decrease_factor + (float)rand() / RAND_MAX * RMSE * (fann_type)fann_exp2(-T * epoch + step_error_shift); ~ ^~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:29: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_error.c:116:15: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start(ap, errno_f); ^ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_error.c:93:71: note: parameter of type 'const enum fann_errno_enum' is declared here void fann_error(struct fann_error *errdat, const enum fann_errno_enum errno_f, ...) ^ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:30: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_cascade.c:355:22: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = fann_rand(-scale_factor, scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ In file included from /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/floatfann.c:30: /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/fann_cascade.c:357:22: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] ann->weights[i] = fann_rand(0,scale_factor); ^~~~~~~~~~~~~~~~~~~~~~~~~ /exopi-obj/pobj/fann-2.2.0/fann-2.2.0/src/include/fann_internal.h:132:114: note: expanded from macro 'fann_rand' #define fann_rand(min_value, max_value) (((float)(min_value))+(((float)(max_value)-((float)(min_value)))*rand()/(RAND_MAX+1.0f))) ^~~~~~~~~ /usr/include/stdlib.h:83:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ 15 warnings generated. [11/12] : && /exopi-obj/pobj/fann-2.2.0/bin/cc -fPIC -O2 -pipe -DNDEBUG -Xlinker --dependency-file=src/CMakeFiles/fann.dir/link.d -shared -Wl,-soname,libfann.so.1.0 -o src/libfann.so.1.0 src/CMakeFiles/fann.dir/floatfann.c.o -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && : [12/12] /usr/local/bin/cmake -E cmake_symlink_library src/libfann.so.1.0 src/libfann.so.1.0 src/libfann.so && : >>> Running package in math/fann at 1735137492.57 ===> math/fann ===> Faking installation for fann-2.2.0 -- Install configuration: "Release" -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/lib/pkgconfig/fann.pc -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/lib/libfloatfann.so.1.0 -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/lib/libdoublefann.so.1.0 -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/lib/libfixedfann.so.1.0 -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/lib/libfann.so.1.0 -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/doublefann.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann_internal.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/floatfann.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann_data.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fixedfann.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/compat_time.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann_activation.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann_cascade.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann_error.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann_train.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann_io.h -- Installing: /exopi-obj/pobj/fann-2.2.0/fake-amd64/usr/local/include/fann_cpp.h ===> Building package for fann-2.2.0 Create /exopi-cvs/ports/packages/amd64/all/fann-2.2.0.tgz Creating package fann-2.2.0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|** | 4% checksumming|***** | 8% checksumming|******* | 12% checksumming|********** | 16% checksumming|************ | 20% checksumming|*************** | 24% checksumming|***************** | 28% checksumming|******************** | 32% checksumming|********************** | 36% checksumming|************************ | 40% checksumming|*************************** | 44% checksumming|***************************** | 48% checksumming|******************************** | 52% checksumming|********************************** | 56% checksumming|************************************* | 60% checksumming|*************************************** | 64% checksumming|***************************************** | 68% checksumming|******************************************** | 72% checksumming|********************************************** | 76% checksumming|************************************************* | 80% checksumming|*************************************************** | 84% checksumming|****************************************************** | 88% checksumming|******************************************************** | 92% checksumming|*********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*********** | 17% archiving|********************** | 35% archiving|***************************** | 46% archiving|**************************************** | 63% archiving|***************************************** | 64% archiving|******************************************* | 67% archiving|******************************************* | 68% archiving|********************************************* | 70% archiving|******************************************************** | 88% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|************************************************************ | 94% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/fann-2.2.0.tgz >>> Running clean in math/fann at 1735137493.60 ===> math/fann ===> Cleaning for fann-2.2.0 >>> Ended at 1735137493.94 max_stuck=0.00/depends=1.91/show-prepare-results=1.07/build=9.90/package=1.03/clean=0.37