]> git.pld-linux.org Git - packages/Firebird.git/blame - Firebird-gcc4.patch
- updated to 1.5.4.4910
[packages/Firebird.git] / Firebird-gcc4.patch
CommitLineData
5472bf2d
JB
1--- firebird-1.5.4.4910/src/common/classes/alloc.h.orig 2006-11-05 15:37:52.000000000 +0100
2+++ firebird-1.5.4.4910/src/common/classes/alloc.h 2007-02-17 23:15:18.116389037 +0100
3@@ -241,7 +241,7 @@
4
5 void operator delete[](void* mem) throw();
6
7-#ifdef AIX
8+#if defined(AIX) || __GNUC__ >= 4
9 #define FB_STATIC_INLINE_NEW inline
10 #else
11 #define FB_STATIC_INLINE_NEW static inline
12--- firebird-1.5.4.4910/src/burp/burp.cpp.orig 2006-11-05 15:37:49.000000000 +0100
13+++ firebird-1.5.4.4910/src/burp/burp.cpp 2007-02-17 23:46:15.538237476 +0100
14@@ -1596,7 +1596,7 @@
14c8a3f8
AM
15 #ifndef WIN_NT
16 signal(SIGPIPE, SIG_IGN);
17 #endif
18- fil->fil_fd = reinterpret_cast<DESC>(GBAK_STDOUT_DESC);
5472bf2d 19+ fil->fil_fd = static_cast<DESC>(GBAK_STDOUT_DESC);
14c8a3f8
AM
20 break;
21 }
22 else
5472bf2d 23@@ -1714,7 +1714,7 @@
14c8a3f8
AM
24
25 tdgbl->action->act_action = ACT_restore;
26 if (!strcmp(fil->fil_name, "stdin")) {
27- fil->fil_fd = reinterpret_cast<DESC>(GBAK_STDIN_DESC);
5472bf2d 28+ fil->fil_fd = static_cast<DESC>(GBAK_STDIN_DESC);
14c8a3f8
AM
29 tdgbl->file_desc = fil->fil_fd;
30 tdgbl->gbl_sw_files = fil->fil_next;
31 }
This page took 0.028471 seconds and 4 git commands to generate.