Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita98d974

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

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)

[8]ページ先頭

©2009-2025 Movatter.jp