Results 1 to 3 of 3

Thread: Compilation fixes for GCC 4.3

  1. #1
    fmoya is offline Registered User
    Name: Francisco Moya
    Organization: UCLM
    Project: Debian packages
    Join Date
    Oct 2004
    Posts
    51

    Compilation fixes for GCC 4.3

    GCC 4.3 fails to compile Ice 3.2, IceE 1.1 and IceE-translators 1.1 due to missing includes. This bug was first reported against Ice Debian packages. The original messages may be found at:

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417787

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417790

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417803

    The following patch by Martin Michlmayr should solve these issues

    Code:
    --- zeroc-ice-3.2.0/src/IceUtil/Exception.cpp   2007-02-01 17:40:28.000000000 +0100
    +++ zeroc-ice-3.2.0.new/src/IceUtil/Exception.cpp       2007-04-08 20:33:46.000000000 +0200
    @@ -8,6 +8,7 @@
     // **********************************************************************
    
     #include <IceUtil/Exception.h>
    +#include <cstdlib>
    
     using namespace std;
    
    --- zeroc-icee-translators-1.1.0/src/IceUtil/Exception.cpp      2006-02-21 02:55:09.000000000 +0100
    +++ zeroc-icee-translators-1.1.0.new/src/IceUtil/Exception.cpp  2007-04-08 21:05:18.000000000 +0200
    @@ -8,6 +8,7 @@
     // **********************************************************************
    
     #include <IceUtil/Exception.h>
    +#include <cstdlib>
    
     using namespace std;
    
    --- zeroc-icee-1.1.0/include/IceE/Buffer.h      2006-03-07 19:51:01.000000000 +0100
    +++ zeroc-icee-1.1.0.new/include/IceE/Buffer.h  2007-04-08 20:43:03.000000000 +0200
    @@ -11,6 +11,7 @@
     #define ICEE_BUFFER_H
    
     #include <IceE/Config.h>
    +#include <cstdlib>
    
     #define ICE_SMALL_MESSAGE_BUFFER_OPTIMIZATION
     #define ICE_BUFFER_FIXED_SIZE 64
    Francisco Moya Fernandez
    Computer Architecture and Tecnology Group
    University of Castilla-La Mancha

    Debian Maintainer of ZeroC Ice packages.

  2. #2
    fmoya is offline Registered User
    Name: Francisco Moya
    Organization: UCLM
    Project: Debian packages
    Join Date
    Oct 2004
    Posts
    51

    One hunk was missing

    Sorry, I missed this one for IceE 1.1.0:

    Code:
    --- test/IceE/custom/MyByteSeq.cpp~	2007-04-04 15:01:46.000000000 +0000
    +++ test/IceE/custom/MyByteSeq.cpp	2007-04-04 15:01:53.000000000 +0000
    @@ -8,6 +8,7 @@
     // **********************************************************************
     
     #include <MyByteSeq.h>
    +#include <cstdlib>
     
     MyByteSeq::MyByteSeq()
         : _size(0),
    Francisco Moya Fernandez
    Computer Architecture and Tecnology Group
    University of Castilla-La Mancha

    Debian Maintainer of ZeroC Ice packages.

  3. #3
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Francisco,

    Thanks for the patches; we'll add these include <cstdlib> in the next release.

    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 09-12-2008, 08:56 AM
  2. Patch #7 for Ice 3.1.0: IceGridGUI fixes
    By bernard in forum Patches
    Replies: 0
    Last Post: 09-11-2006, 02:28 PM
  3. Compilation Problem with GCC
    By mykael in forum Help Center
    Replies: 1
    Last Post: 07-03-2006, 04:06 AM
  4. g++ 4.1 compilation fixes for IceE 1.1.0
    By fmoya in forum Bug Reports
    Replies: 1
    Last Post: 04-13-2006, 08:32 AM
  5. Minor i386 fixes
    By rodrigc in forum Patches
    Replies: 3
    Last Post: 03-07-2003, 03:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •