Content-Length: 266963 | pFad | http://github.com/postgres/postgres/commit/a98d974edd3dedec52b0cf0e8c168bc8fa27fe2e

0E Avoiding · postgres/postgres@a98d974 · GitHub
Skip to content

Commit a98d974

Browse files
committed
Avoiding
cc1: warnings being treated as errors exc.c: In function 'ExcRaise': exc.c:186: warning: passing arg 1 of 'Longjmp' from incompatible pointer type gmake[3]: *** [exc.o] Error 1 Now we have: #if defined (JMP_BUF) longjmp(efp->context, 1); #else siglongjmp(efp->context, 1); #endif
1 parent 8696192 commit a98d974

File tree

1 file changed

+5
-1
lines changed
  • src/backend/utils/error

1 file changed

+5
-1
lines changed

src/backend/utils/error/exc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.6 1996/11/10 03:03:31 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.6.2.1 1996/12/14 05:54:36 vadim Exp $
1111
*
1212
* NOTE
1313
* XXX this code needs improvement--check for state violations and
@@ -183,6 +183,10 @@ ExcRaise(Exception *excP,
183183

184184
ExcCurFrameP = efp->link;
185185

186+
#if defined (JMP_BUF)
186187
longjmp(efp->context, 1);
188+
#else
189+
siglongjmp(efp->context, 1);
190+
#endif
187191
}
188192
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgres/postgres/commit/a98d974edd3dedec52b0cf0e8c168bc8fa27fe2e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy