[omniORB] compilation problem of zero-length arrays

Duncan Grisby duncan at grisby.org
Wed Jan 7 12:33:00 GMT 2009


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