beast r4480 - trunk/sfi



Author: stw
Date: Thu Jun 12 10:38:05 2008
New Revision: 4480
URL: http://svn.gnome.org/viewvc/beast?rev=4480&view=rev

Log:
Compile fixes for G++-4.3.

Sun Jun  8 22:59:52 2008  Stefan Westerfeld  <stefan space twc de>

	* sfidl-factory.cc:
	* sfidl-options.cc:
	* sfidl-namespace.cc:
	* sfidl-parser.cc:
	* sfidl-cxxbase.cc:
	* sficxx.hh: Compile fixes for G++-4.3: Added a few standard includes.


Modified:
   trunk/sfi/ChangeLog
   trunk/sfi/sficxx.hh
   trunk/sfi/sfidl-cxxbase.cc
   trunk/sfi/sfidl-factory.cc
   trunk/sfi/sfidl-namespace.cc
   trunk/sfi/sfidl-options.cc
   trunk/sfi/sfidl-parser.cc

Modified: trunk/sfi/sficxx.hh
==============================================================================
--- trunk/sfi/sficxx.hh	(original)
+++ trunk/sfi/sficxx.hh	Thu Jun 12 10:38:05 2008
@@ -20,6 +20,7 @@
 #include <birnet/birnet.hh>
 #include <sfi/sfi.h>
 #include <string>
+#include <string.h>
 #include <new>
 
 namespace Sfi {

Modified: trunk/sfi/sfidl-cxxbase.cc
==============================================================================
--- trunk/sfi/sfidl-cxxbase.cc	(original)
+++ trunk/sfi/sfidl-cxxbase.cc	Thu Jun 12 10:38:05 2008
@@ -18,6 +18,7 @@
 #include "sfidl-factory.hh"
 #include <fcntl.h>
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include <errno.h>
 #include <ctype.h>

Modified: trunk/sfi/sfidl-factory.cc
==============================================================================
--- trunk/sfi/sfidl-factory.cc	(original)
+++ trunk/sfi/sfidl-factory.cc	Thu Jun 12 10:38:05 2008
@@ -16,6 +16,7 @@
  */
 #include "sfidl-factory.hh"
 #include "glib-extra.h"
+#include <algorithm>
 
 using namespace Sfidl;
 

Modified: trunk/sfi/sfidl-namespace.cc
==============================================================================
--- trunk/sfi/sfidl-namespace.cc	(original)
+++ trunk/sfi/sfidl-namespace.cc	Thu Jun 12 10:38:05 2008
@@ -17,6 +17,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <map>
+#include <algorithm>
 #include "sfidl-namespace.hh"
 #include <sfi/glib-extra.h>
 

Modified: trunk/sfi/sfidl-options.cc
==============================================================================
--- trunk/sfi/sfidl-options.cc	(original)
+++ trunk/sfi/sfidl-options.cc	Thu Jun 12 10:38:05 2008
@@ -20,6 +20,7 @@
 #include "topconfig.h"
 #include <sfi/glib-extra.h>
 #include <stdio.h>
+#include <string.h>
 
 /* FIXME: should be filled out and written into topconfig.h by configure */
 #define SFIDL_VERSION        BST_VERSION

Modified: trunk/sfi/sfidl-parser.cc
==============================================================================
--- trunk/sfi/sfidl-parser.cc	(original)
+++ trunk/sfi/sfidl-parser.cc	Thu Jun 12 10:38:05 2008
@@ -18,13 +18,16 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <unistd.h>
+#include <stdlib.h>
 #include <errno.h>
+#include <string.h>
 #include "sfidl-parser.hh"
 #include "sfidl-namespace.hh"
 #include "sfidl-options.hh"
 #include <iostream>
 #include <set>
 #include <stack>
+#include <algorithm>
 
 namespace {
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]