Community
Participate
Working Groups
Created attachment 231254 [details] suggested patch Function read_sigset returns directly the SigSet structure. This generate a build error when agent is compile for example with "CFLAGS=-Wall -Waggregate-return -Werror" : make CFLAGS="-Wall -Waggregate-return -Wmissing-prototypes -Werror" ... cc -Wall -Waggregate-return -Wmissing-prototypes -Werror -g -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -I./. -I./system/GNU/Linux -I./machine/x86_64 -o obj/GNU/Linux/x86_64/Debug/tcf/services/processes.o -c tcf/services/processes.c tcf/services/processes.c: In function ‘read_sigset’: tcf/services/processes.c:576:15: error: function returns an aggregate [-Werror=aggregate-return] tcf/services/processes.c: In function ‘command_set_signal_mask’: tcf/services/processes.c:601:15: error: function call has aggregate value [-Werror=aggregate-return] tcf/services/processes.c:603:15: error: function call has aggregate value [-Werror=aggregate-return] cc1: all warnings being treated as errors make: *** [obj/GNU/Linux/x86_64/Debug/tcf/services/processes.o] Error 1
I have committed the patch. Thanks!
Comment on attachment 231254 [details] suggested patch iplog- since git has the author: http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/commit/?id=2c88e7624d369831771169cd9ccaa351134ccbbe