[omniORB-dev] Patch for gcc 4.4 build issues

Floris Bruynooghe floris.bruynooghe at gmail.com
Sat Jul 4 14:58:18 BST 2009


Hi

Below is a very simple patch that is required for omniORB to build
with gcc 4.4.  GCC 4.4 cleaned up some more C++ headers and you always
need to #include headers directly.  It would be nice if this could be
merged.  (Patch originally from Martin Michlmayr,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505389)

Thanks
Floris


--- src/appl/utils/catior/catior.cc~	2008-11-11 22:34:40.000000000 +0000
+++ src/appl/utils/catior/catior.cc	2008-11-11 22:34:56.000000000 +0000
@@ -25,6 +25,7 @@
 // Lists contents of an IOR.
 
 #include <string.h>
+#include <stdio.h>
 #include <stdlib.h>
 
 #include <omniORB4/CORBA.h>
--- src/appl/utils/convertior/convertior.cc~	2008-11-11
22:36:04.000000000 +0000
+++ src/appl/utils/convertior/convertior.cc	2008-11-11
22:36:10.000000000 +0000
@@ -25,6 +25,7 @@
 // Takes an IOR, hostname as arguments. Outputs IOR with new hostname.
 
 #include <string.h>
+#include <stdio.h>
 #include <stdlib.h>
 
 #include <omniORB4/CORBA.h>



More information about the omniORB-dev mailing list