[omniORB] compilation problem of zero-length arrays

Masaaki Sekiya sekiya at ydc.co.jp
Thu Jan 8 19:54:49 GMT 2009


Hi Duncan.

Zero-length arrays were generated by omniidl.
But now I checked the latest modules in CVS, it was fixed by you.

Thanks.

>On Monday 5 January, Masaaki Sekiya wrote:
>
>[...]
>> "../omniORB4/bootstrapSK.cc", line 230: error #3345: an empty
>> initializer is invalid for an array with unspecified bound
>>   const char* const _0RL_cd_96f078e2247ab9da_20000000::_user_exns[] = {
>>   
>> It is caused by a declaration of zero-length arrays in bootstrapSK.cc.
>> Gcc allows zero-length arrays , but HP aCC does't allow.
>> How can I get rid of these errors?
>
>I've checked in a change to CVS that puts a zero in the array, so the
>arrays are never zero length. Does that work for you?
>
>Cheers,
>
>Duncan.
>
>-- 
> -- Duncan Grisby         --
>  -- duncan at grisby.org     --
>   -- http://www.grisby.org --



More information about the omniORB-list mailing list