Hi Patrick,
On 29/5/21 5:26 am, Patrick Alken wrote:
Dear all,
It is time to make a new GSL release. I have uploaded a test release to:
ftp://alpha.gnu.org/gnu/gsl/gsl-2.6.90.tar.gz
ftp://alpha.gnu.org/gnu/gsl/gsl-2.6.90.tar.gz.sig
All reports are welcome - anyone who can test on various platforms would be
appreciated (Linux, BSD, Mac OS, Windows).
Please try testing the build:
./configure && make && make check
If you wish you can test building the documentation, but you will need to
install the python-based sphinx software first:
1. pip install -U --user Sphinx
2. pip install -U --user sphinx_rtd_theme
(the --user flag will install in your home directory rather than system-wide)
3. cd doc ; make html
Please report any successes/failures.
All successful on ubuntu with gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0.
The compiler gave some warnings, which look benign to me, but might be
worthwhile fixing (see attachment).
Thanks,
Peter
Thanks,
Patrick
In file included from test.c:33:
test_fdf.c: In function ‘test_fdf.constprop’:
test_fdf.c:308:25: warning: ‘/weighted’ directive writing 9 bytes into a region
of size between 1 and 2048 [-Wformat-overflow=]
308 | sprintf(sname, "%s/weighted", buf);
| ^~~~~~~~~
In file included from /usr/include/stdio.h:867,
from ../gsl/gsl_errno.h:23,
from ../gsl/gsl_vector_complex_long_double.h:25,
from ../gsl/gsl_vector.h:4,
from ../gsl/gsl_multifit_nlinear.h:27,
from test.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
‘__builtin___sprintf_chk’ output between 10 and 2057 bytes into a destination
of size 2048
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from test.c:33:
test_fdf.c: In function ‘test_fdf.constprop’:
test_fdf.c:311:25: warning: ‘/weighted’ directive writing 9 bytes into a region
of size between 1 and 2048 [-Wformat-overflow=]
311 | sprintf(sname, "%s/weighted", buf);
| ^~~~~~~~~
In file included from /usr/include/stdio.h:867,
from ../gsl/gsl_errno.h:23,
from ../gsl/gsl_vector_complex_long_double.h:25,
from ../gsl/gsl_vector.h:4,
from ../gsl/gsl_multilarge_nlinear.h:26,
from test.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note:
‘__builtin___sprintf_chk’ output between 10 and 2057 bytes into a destination
of size 2048
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dwt.c: In function ‘main’:
dwt.c:26:7: warning: ignoring return value of ‘fscanf’, declared with attribute
warn_unused_result [-Wunused-result]
26 | fscanf (f, "%lg", &orig_data[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~