Hi Dany,
> We have a piece of code with a global var. looking like :
>
> tSiaTableField tmnxRadProxSrvTableLeafOvr[] =
> {
> { .leafId = LEAF_tmnxRadProxSrvRowStatus , .node.ranges =
> ROWSTATUS_RESTRICTED, },
> { .leafId = LEAF_tmnxRadProxSrvAdminState, .node.ranges =
> ADMINSTATE_NO_NOOP, },
> { }
> };
>
> It is the intention to have a global array with 3 elements.
>
> However, cil converts it to :
>
> tSiaTableField tmnxRadProxSrvTableLeafOvr[2] = { {3, 0U,
> (unsigned char)0, {0, 0U, 0U, "1,4,6", 0U, 0, {0}}},
> {5, 0U, (unsigned char)0, {0, 0U, 0U, "2-3", 0U, 0, {0}}}};
>
> Which only has 2 elements.
This was indeed a bug in CIL.
> is this the expected behavior, and can we add a warning/error in the
> cil source somewhere in case it drops an element?
It has been fixed in CIL 1.7.0.
Best regards,
--
Gabriel
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
CIL-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cil-users