[asterisk-scf-dev] Updates to Ice and slice-plugins

Kevin P. Fleming kpfleming at digium.com
Fri Feb 18 17:58:18 CST 2011


I've just pushed some changes to ice-release, slice-plugins-release and 
gitall that must be used together... which means if you update your 
gitall working tree, you'll need to update/build/install Ice and the 
slice-plugins before the gitall build will work again.

This work added a new Slice translator plugin called ClassMemberDefault, 
which adds default values to various types of data members in Slice 
classes, structs and exceptions (only when translated to C++, since the 
other languages don't need them), if they aren't specified in the Slice 
file. This is necessary for C++ because the language does not provide 
default values for these types of data members (enum, int, short, bool, 
etc.), and failing to initialize a member of a class/struct/exception 
could result in an invalid value being in that data member... if that 
object is then sent over Ice to a language mapping that mandates only 
valid values for such data members, an unmarshaling exception will result.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-scf-dev mailing list