761a768f3c93bb9eff8bd5a051b8e6d0b83befc9
[packages/Firebird.git] / Firebird-gcc4.patch
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 @@
15  #ifndef WIN_NT
16                                 signal(SIGPIPE, SIG_IGN);
17  #endif
18 -                               fil->fil_fd = reinterpret_cast<DESC>(GBAK_STDOUT_DESC);
19 +                               fil->fil_fd = static_cast<DESC>(GBAK_STDOUT_DESC);
20                                 break;
21                         }
22                         else
23 @@ -1714,7 +1714,7 @@
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);
28 +               fil->fil_fd = static_cast<DESC>(GBAK_STDIN_DESC);
29                 tdgbl->file_desc = fil->fil_fd;
30                 tdgbl->gbl_sw_files = fil->fil_next;
31         }
This page took 0.069815 seconds and 2 git commands to generate.