Go Back   ZeroC Forums > Patches

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-15-2006
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 912
Patch #2 for Ice 3.1

Attached is patch #2 for Ice 3.1. It affects only Ice for C++. The patch includes patch #1, and you can apply this patch whether or not you previously installed patch #1.

You need to install this patch only if you have a class with a member that is an interface by value:

Code:
interface I
{
    void op();
};

class C
{
    I myI; // Note: I, not I*. Generates bad code.
};
Note that if you have a class with a member that is a class by value, there is no problem.

Code:
class I
{
    void op();
};

class C
{
    I myI; // Note: I, not I*. Works fine without the patch.
};
The patch is binary incompatible, so you need to recompile Ice for C++ as well as your application if you apply this patch.

To apply the patch, unzip the attached archive at the top of your Ice for C++ source distribution and rebuild.

This patch will be included in Ice 3.2. Unless you have pressing need to apply it, I suggest you wait until we release Ice 3.2.

Cheers,

Michi.
Attached Files
File Type: zip Ice-3.1-patch-2.zip (24.7 KB, 48 views)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch for Ice-3.1.0: icegridadmin application patch bug fix mpugach Patches 1 08-01-2006 07:26 AM


All times are GMT -4. The time now is 06:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.