thanks, fixed in SVN 1655.
Best Regards,
Jürgen
On 3/5/23 11:27 PM, Louis Chretien via
Bugs and suggestions for GNU APL wrote:
Two warnings are present in the build 1651 of APL:
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /Users/admin/Subversion/apl -I/opt/local/include -I /Users/admin/Subversion/apl -MT apl-Symbol.o -MD -MP -MF .deps/apl-Symbol.Tpo -c -o apl-Symbol.o `test -f 'Symbol.cc' || echo './'`Symbol.ccSymbol.cc:954:16: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]sprintf(buffer, "*(%d %d %d %d %d %d %d)",^Symbol.cc:961:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]sprintf(buffer + 72, "%8.8lld\r\n", long_long(seq++));^Symbol.cc:988:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]sprintf(buffer + 72, "%8.8lld\r\n", long_long(seq++));^ ^3 warnings generated.
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -I sql -I /Users/admin/Subversion/apl -I/opt/local/include -I /Users/admin/Subversion/apl -MT apl-Quad_FIO.o -MD -MP -MF .deps/apl-Quad_FIO.Tpo -c -o apl-Quad_FIO.o `test -f 'Quad_FIO.cc' || echo './'`Quad_FIO.ccQuad_FIO.cc:366:29: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]sprintf(numbuf, fmt, int_val);^Quad_FIO.cc:379:29: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]sprintf(numbuf, fmt, float_val);^Quad_FIO.cc:421:27: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]sprintf(numbuf, "%s", strerror(errno));^3 warnings generated.
---Louis Chrétien