Re: [mico-devel] Marshall exception
Brought to you by:
kgardas
|
From: Gregory, P. <Pet...@lo...> - 2012-10-31 16:55:06
|
Hi I have tracked this issue down and can confirm it is another problem caused by the upgrade to gcc version 4.4. A different problem with the same cause was reported in the issue "typecode assertion failed on gcc 4.4 <https://sourceforge.net/mailarchive/message.php?msg_id=29183633> ". The issue is caused by a change in behaviour of the switch statement. With this version of gcc the switch statement in CORBA::TypeCode::decode (DataDecoder &dc, MapPosTC *_omap, ULong level), now enters the default block instead of the "case TK_RECURSIVE:" block. This is because the value of TK_RECURSIVE is outside the range of the TCKind enum. I made the relevant changes to typecode.cc and tckind.h, and the issue is resolved. Peter |