gcc3 fixes necessary to compile and link the registrar

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8494 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
haydentech 2004-07-28 16:23:46 +00:00
parent 3419b1d553
commit 41e9b8c42a
6 changed files with 17 additions and 3 deletions

View File

@ -14,6 +14,8 @@
#include <stdio.h> #include <stdio.h>
#include <string> #include <string>
using namespace std;
#include "MIMEManager.h" #include "MIMEManager.h"
/*! /*!

View File

@ -24,8 +24,8 @@
// Description: Manages the registrar side "shadows" of BMessageRunners. // Description: Manages the registrar side "shadows" of BMessageRunners.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
#include <algobase.h> #include <algorithm>
#include <new.h> #include <new>
#include <Autolock.h> #include <Autolock.h>
#include <Message.h> #include <Message.h>

View File

@ -42,6 +42,8 @@
#include <new> #include <new>
#include <map> #include <map>
using namespace std;
#define DBG(x) (x) #define DBG(x) (x)
//#define DBG(x) //#define DBG(x)
#define OUT printf #define OUT printf

View File

@ -5,6 +5,14 @@
#include <stdio.h> #include <stdio.h>
const status_t RosterSettingsCharStream::kEndOfLine;
const status_t RosterSettingsCharStream::kEndOfStream;
const status_t RosterSettingsCharStream::kInvalidEscape;
const status_t RosterSettingsCharStream::kUnterminatedQuotedString;
const status_t RosterSettingsCharStream::kComment;
const status_t RosterSettingsCharStream::kUnexpectedState;
const status_t RosterSettingsCharStream::kStringTooLong;
using namespace BPrivate::Storage::Sniffer; using namespace BPrivate::Storage::Sniffer;
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------

View File

@ -29,6 +29,8 @@
#include "Watcher.h" #include "Watcher.h"
#include "WatchingService.h" #include "WatchingService.h"
using namespace std;
/*! \class WatchingService /*! \class WatchingService
\brief Features everything needed to provide a watching service. \brief Features everything needed to provide a watching service.

View File

@ -47,7 +47,7 @@ public:
void NotifyWatchers(BMessage *message, WatcherFilter *filter = NULL); void NotifyWatchers(BMessage *message, WatcherFilter *filter = NULL);
private: private:
typedef map<BMessenger,Watcher*> watcher_map; typedef std::map<BMessenger,Watcher*> watcher_map;
private: private:
watcher_map fWatchers; watcher_map fWatchers;