bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] @Revision 1157


From: Christian Robert
Subject: [Bug-apl] @Revision 1157
Date: Sun, 26 May 2019 18:25:39 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

[...]
g++ -DHAVE_CONFIG_H -I. -I..    -Wall -I sql -Werror     -rdynamic -g -O2 -MT 
apl-ProcessorID.o -MD -MP -MF .deps/apl-ProcessorID.Tpo -c -o apl-ProcessorID.o 
`test -f 'ProcessorID.cc' || echo './'`ProcessorID.cc
In file included from Function.hh:26,
from PrimitiveFunction.hh:25,
from Bif_F12_FORMAT.hh:24,
from QuadFunction.cc:24:
In member function ‘void Error::set_error_line_1(const char*)’,
inlined from ‘Token Quad_ES::event_simulate(const UCS_string*, Value_P, 
Error&)’ at QuadFunction.cc:578:31:
Error.hh:112:16: error: ‘char* strncpy(char*, const char*, size_t)’ output may 
be truncated copying 60 bytes from a string of length 79 
[-Werror=stringop-truncation]
112 |       { strncpy(error_message_1, msg_1, sizeof(error_message_1));
|         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘void Error::set_error_line_1(const char*)’,
inlined from ‘Token Quad_ES::event_simulate(const UCS_string*, Value_P, 
Error&)’ at QuadFunction.cc:567:31:
Error.hh:112:16: error: ‘char* strncpy(char*, const char*, size_t)’ specified 
bound 60 equals destination size [-Werror=stringop-truncation]
112 |       { strncpy(error_message_1, msg_1, sizeof(error_message_1));
|         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘void Error::set_error_line_1(const char*)’,
inlined from ‘Token Quad_ES::event_simulate(const UCS_string*, Value_P, 
Error&)’ at QuadFunction.cc:561:31:
Error.hh:112:16: error: ‘char* strncpy(char*, const char*, size_t)’ specified 
bound 60 equals destination size [-Werror=stringop-truncation]
112 |       { strncpy(error_message_1, msg_1, sizeof(error_message_1));
|         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:2706: apl-QuadFunction.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/apl-ProcessorID.Tpo .deps/apl-ProcessorID.Po
mv -f .deps/apl-PrintBuffer.Tpo .deps/apl-PrintBuffer.Po
mv -f .deps/apl-PrimitiveFunction.Tpo .deps/apl-PrimitiveFunction.Po
make[3]: Leaving directory '/home/xtian/gnuapl/src'
make[2]: *** [Makefile:3454: all-recursive] Error 1
make[2]: Leaving directory '/home/xtian/gnuapl/src'
make[1]: *** [Makefile:523: all-recursive] Error 1
make[1]: Leaving directory '/home/xtian/gnuapl'
make: *** [Makefile:410: all] Error 2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]