summaryrefslogtreecommitdiffstats
path: root/zinf/build/zinf_gcc4.patch
blob: 1bc0f7bac077caa856ef0e7eeae018ae6ba1fb8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- a/base/include/event.h	Sat Apr 22 00:34:35 2006 +0000
+++ b/base/include/event.h	Tue Oct 10 12:46:22 2006 -0700
@@ -40,6 +40,7 @@ protected:
 
 class EventQueue {
 public:
+    virtual ~EventQueue() {}
     virtual Error AcceptEvent(Event *) = 0;
 };
 

--- a/base/include/player.h	Sat Apr 22 00:34:35 2006 +0000
+++ b/base/include/player.h	Tue Oct 10 12:46:22 2006 -0700
@@ -156,13 +156,13 @@ class ZINF_EXPORT Player : public EventQ
     
     #define _EQUALIZER_ENABLE_
     #ifdef  _EQUALIZER_ENABLE_
-    void Player::SetEQData(Event *pEvent);
+    void   SetEQData(Event *pEvent);
     #endif // _EQUALIZER_ENABLE_
     #undef  _EQUALIZER_ENABLE_    
 
     #define _VISUAL_ENABLE_
     #ifdef  _VISUAL_ENABLE_
-    void Player::SendVisBuf(Event *pEvent); 
+    void   SendVisBuf(Event *pEvent); 
     #endif // _VISUAL_ENABLE_
     #undef  _VISUAL_ENABLE_  
 

--- a/base/include/properties.h	Sat Apr 22 00:34:35 2006 +0000
+++ b/base/include/properties.h	Tue Oct 10 12:46:22 2006 -0700
@@ -64,6 +64,7 @@ class Int32PropValue : public PropValue 
 
 class PropertyWatcher {
  public:
+    virtual ~PropertyWatcher() {}
     virtual Error PropertyChange(const std::string& prop, PropValue *) = 0;
 };
 

--- a/base/include/queue.h	Sat Apr 22 00:34:35 2006 +0000
+++ b/base/include/queue.h	Tue Oct 10 12:46:22 2006 -0700
@@ -26,6 +26,7 @@ ________________________________________
 
 #include "config.h"
 #include "mutex.h"
+#include <assert.h>
 
 template<class T>
 class Queue {