Subject: | Test failures (because of C warnings?) |
I see the following test failure on my smoker systems (e.g. freebsd 12 with perl 5.28.0, but also other configurations):
...
./t/x01c.c:123:25: warning: passing 'const char **' to parameter of type 'PLCHAR_NC_MATRIX' (aka 'char **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
plparseopts( &argc, argv, PL_PARSE_FULL );
^~~~
/usr/local/include/plplot/plplot.h:2341:46: note: passing argument to parameter 'argv' here
c_plparseopts( int *p_argc, PLCHAR_NC_MATRIX argv, PLINT mode );
^
1 warning generated.
# Failed test 'Script ./t/x01.pl ran successfully'
# at t/plplot_library_tests.t line 68.
... (etc) ...