Floris Bruynooghe | 4 Jul 2009 14:58
Picon
Gravatar

Patch for gcc 4.4 build issues

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
 <at>  <at>  -25,6 +25,7  <at>  <at> 
 // 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
 <at>  <at>  -25,6 +25,7  <at>  <at> 
 // Takes an IOR, hostname as arguments. Outputs IOR with new hostname.

 #include <string.h>
+#include <stdio.h>
(Continue reading)

Duncan Grisby | 8 Jul 2009 18:27

Re: Patch for gcc 4.4 build issues

On Saturday 4 July, Floris Bruynooghe wrote:

> 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. I think the issue has already been addressed in CVS, with a
slightly different change that avoids the use of EOF. Are you able to
try that out?

Cheers,

Duncan.

--

-- 
 -- Duncan Grisby         --
  -- duncan <at> grisby.org     --
   -- http://www.grisby.org --

Gmane