< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] Patch: gcc 4.3


std::auto_ptr now requires <memory> header include, as per
http://gcc.gnu.org/gcc-4.3/porting_to.html
attached patch
Index: resip/dum/TargetCommand.hxx
===================================================================
--- resip/dum/TargetCommand.hxx	(revision 7554)
+++ resip/dum/TargetCommand.hxx	(working copy)
@@ -1,6 +1,7 @@
 #if !defined(RESIP_TARGETCOMMAND_HXX)
 #define RESIP_TARGETCOMMAND_HXX
 
+#include <memory>
 #include "resip/dum/DumCommand.hxx"
 
 namespace resip
Index: resip/stack/SdpContents.hxx
===================================================================
--- resip/stack/SdpContents.hxx	(revision 7554)
+++ resip/stack/SdpContents.hxx	(working copy)
@@ -4,6 +4,7 @@
 #include <vector>
 #include <list>
 #include <iosfwd>
+#include <memory>
 
 #include "resip/stack/Contents.hxx"
 #include "resip/stack/Uri.hxx"
Index: resip/stack/TransactionState.hxx
===================================================================
--- resip/stack/TransactionState.hxx	(revision 7554)
+++ resip/stack/TransactionState.hxx	(working copy)
@@ -2,6 +2,7 @@
 #define RESIP_TRANSACTIONSTATE_HXX
 
 #include <iosfwd>
+#include <memory>
 #include "rutil/dns/DnsHandler.hxx"
 #include "resip/stack/Transport.hxx"
 #include "rutil/HeapInstanceCounter.hxx"
Index: rutil/dns/RRCache.hxx
===================================================================
--- rutil/dns/RRCache.hxx	(revision 7554)
+++ rutil/dns/RRCache.hxx	(working copy)
@@ -3,6 +3,7 @@
 
 #include <map>
 #include <set>
+#include <memory>
 
 #include "rutil/dns/RRFactory.hxx"
 #include "rutil/dns/DnsResourceRecord.hxx"
Index: rutil/TimeLimitFifo.hxx
===================================================================
--- rutil/TimeLimitFifo.hxx	(revision 7554)
+++ rutil/TimeLimitFifo.hxx	(working copy)
@@ -2,6 +2,7 @@
 #define RESIP_TimeLimitFifo_hxx 
 
 #include <cassert>
+#include <memory>
 #include "rutil/AbstractFifo.hxx"
 #include <iostream>
 #if defined( WIN32 )