From: <apn...@ya...> - 2024-07-26 15:10:29
|
Add volatile just before the identifier, right? That seems to have fixed the warnings. From: Gustaf Neumann (sslmail) <ne...@wu...> Sent: Friday, July 26, 2024 8:22 PM To: apn...@ya... Subject: Re: [TCLCORE] 9.0b3rc0 test results / bugs Hi Ashok, Can you try to add "volatile” in front of these two declarations? Additionally during compile the following warning is seen: /home/apn/src/tcl9.0b3/unix/tclUnixPipe.c: In function ‘TclpCreateProcess’: /home/apn/src/tcl9.0b3/unix/tclUnixPipe.c:431:18: warning: variable ‘dsArray’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 431 | Tcl_DString *dsArray; | ^~~~~~~ /home/apn/src/tcl9.0b3/unix/tclUnixPipe.c:432:12: warning: variable ‘newArgv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 432 | char **newArgv; | ^~~~~~~ No idea why the errors show on Stefan’s box but not my WSL. Perhaps gcc version. /Ashok |