search for: sigjmp_buf

Displaying 5 results from an estimated 5 matches for "sigjmp_buf".

2020 Jun 16
0
Fix build error with GCC 10 due to multiple definition of `toplevel'
...gt; --- tftp/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tftp/tftp.c b/tftp/tftp.c index d15da2200ef8..d067f9699778 100644 --- a/tftp/tftp.c +++ b/tftp/tftp.c @@ -48,7 +48,7 @@ extern int maxtimeout; #define PKTSIZE SEGSIZE+4 char ackbuf[PKTSIZE]; int timeout; -sigjmp_buf toplevel; +extern sigjmp_buf toplevel; sigjmp_buf timeoutbuf; static void nak(int, const char *); -- 2.20.1
2020 Sep 29
0
[PATCH RESEND] tftp-hpa: Fix build error with GCC 10 due to multiple definition of `toplevel'
...gt; --- tftp/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tftp/tftp.c b/tftp/tftp.c index d15da2200ef8..d067f9699778 100644 --- a/tftp/tftp.c +++ b/tftp/tftp.c @@ -48,7 +48,7 @@ extern int maxtimeout; #define PKTSIZE SEGSIZE+4 char ackbuf[PKTSIZE]; int timeout; -sigjmp_buf toplevel; +extern sigjmp_buf toplevel; sigjmp_buf timeoutbuf; static void nak(int, const char *); -- 2.20.1
2005 Nov 25
0
[LLVMdev] Re: setjmp/longjmp interoperable between llvm and gcc?
...Note also that it is necessary to invoke llc with the --enable-correct-eh-support flag to enable setjmp/longjmp. Regards, ... kurt /*-------------setjmpwrapper.h-------------*/ #include <setjmp.h> /* llvm doesn't support sigsetjmp; use plain setjmp instead */ #undef sigsetjmp #define sigjmp_buf jmp_buf #define sigsetjmp(x,y) setjmp(x) #define siglongjmp longjmp typedef struct ZZ_SIGJMP_BUF { void (*zz_siglongjmp)(struct ZZ_SIGJMP_BUF *self, int value) __attribute__((__noreturn__)); sigjmp_buf jmpbuf; } ZZ_SIGJMP_BUF; static void zz_si...
1998 Sep 15
0
compiling 0.62.3 for SunOS 4.1.4 and Solaris 2.6
...dministered by various moderately clueless people in the past), but I had a number of troubles with gcc and Solaris's default include files. Several times important definitions were located in chunks of the include files that didn't get included by default. - I added "typedef int sigjmp_buf[_SIGJBLEN];" to src/include/Defn.h by hand; had to make sure that the gcc version of math.h got included rather than the default Solaris file; and ran the compilation of the stuff in src/main with -D__EXTENSIONS__ added to CFLAGS in Makeconf. I *think* that adding -D__EXTENSIONS__, or alterna...
2003 Nov 24
1
ia64 mis-merge
....83.vanilla/klibc/arch/ia64/sigjmp.c klibc-0.83/klibc/arch/ia64/sigjmp.c --- klibc-0.83.vanilla/klibc/arch/ia64/sigjmp.c 2003-11-23 19:37:05.000000000 -0500 +++ klibc-0.83/klibc/arch/ia64/sigjmp.c 1969-12-31 19:00:00.000000000 -0500 @@ -1,8 +0,0 @@ - -#include <setjmp.h> - -int __sigjmp_save (sigjmp_buf env, int savemask __attribute__ ((unused))) -{ - env[0].__mask_was_saved = 0; - return 0; -}