Processing: [default: loading data] [plplot.5.12.1: dl] [plplot.5.12.1: extract] -> retrieved plplot.5.12.1 (https://opam.ocaml.org/cache) [plplot: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "plplot" "-j" "32" (CWD=/home/opam/.opam/default/.opam-switch/build/plplot.5.12.1) - (cd _build/default/src && ../configure/discover.exe) - C compiler accepts flag: -Wno-error=incompatible-pointer-types - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -g -O2 -I/usr/include/plplot -Wno-error=incompatible-pointer-types -g -I /home/opam/.opam/default/lib/ocaml -o plplot_impl.o -c plplot_impl.c) - plplot_impl.c: In function 'ml_plotter': - plplot_impl.c:68:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 68 | pltr = caml_named_value( CAML_PLPLOT_PLOTTER_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_defined': - plplot_impl.c:100:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 100 | defined = caml_named_value( CAML_PLPLOT_DEFINED_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_mapform': - plplot_impl.c:122:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 122 | mapform = caml_named_value( CAML_PLPLOT_MAPFORM_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_labelfunc': - plplot_impl.c:154:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 154 | callback = caml_named_value( CAML_PLPLOT_LABEL_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_abort': - plplot_impl.c:176:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 176 | handler = caml_named_value( CAML_PLPLOT_ABORT_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_exit': - plplot_impl.c:195:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 195 | handler = caml_named_value( CAML_PLPLOT_EXIT_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_transform': - plplot_impl.c:216:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 216 | transform = caml_named_value( CAML_PLPLOT_TRANSFORM_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'get_ml_plotter_func': - plplot_impl.c:235:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 235 | pltr = caml_named_value( CAML_PLPLOT_PLOTTER_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'get_ml_defined_func': - plplot_impl.c:252:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 252 | defined = caml_named_value( CAML_PLPLOT_DEFINED_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'get_ml_mapform_func': - plplot_impl.c:269:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 269 | mapform = caml_named_value( CAML_PLPLOT_MAPFORM_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_plslabelfunc': - plplot_impl.c:289:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 289 | label = caml_named_value( CAML_PLPLOT_LABEL_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_plsabort': - plplot_impl.c:311:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 311 | handler = caml_named_value( CAML_PLPLOT_ABORT_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_plsexit': - plplot_impl.c:330:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 330 | handler = caml_named_value( CAML_PLPLOT_EXIT_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_plstransform': - plplot_impl.c:351:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 351 | handler = caml_named_value( CAML_PLPLOT_TRANSFORM_FUNC_NAME ); - | ^ - plplot_impl.c: In function 'ml_plparseopts': - plplot_impl.c:704:41: warning: passing argument 2 of 'c_plparseopts' from incompatible pointer type [-Wincompatible-pointer-types] - 704 | result = plparseopts( &argv_length, c_argv, combined_parse_method ); - | ^~~~~~ - | | - | const char ** - In file included from /usr/include/plplot/plplotP.h:151, - from plplot_impl.c:29: - /usr/include/plplot/plplot.h:2305:46: note: expected 'PLCHAR_NC_MATRIX' {aka 'char **'} but argument is of type 'const char **' - 2305 | c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode ); - | ~~~~~~~~~~~~~~~~~^~~~ -> compiled plplot.5.12.1 -> installed plplot.5.12.1