Community
Participate
Working Groups
Build Identifier: 0.7.0.v201110072101 1) In the 'EGL Data' view > New > EGL Variable > Primitive > string > check 'Array' > in the Size field > Input 1 2) In the following generated EGL source code, it reports errors. mystring1 string[0]{maxSize=1}; Below is the error message. - IWN.VAL.6619.e 18/25 H1 - maxSize cannot be resolved. At line 18 in file \Test\EGLSource\client \H1.egl - IWN.VAL.3248.e 18/15 Dimension specification is not allowed on an array declaration. Reproducible: Always
Hi, Paul Is maxSize and Dimension specification are supported in EDT 0.7, should I remove them?
Some changes to arrays that you are probably not aware of: You can no longer specify a dimension on an array definition: myarr1 int[5]; //this is illegal myarr1 int = new int[5]; this is fine; myarr1 int {0,0,0,0,0}; this is fine; myarr1 int = [0,0,0,0,0]; //this is fine The maxSize annotation has been removed. So, yes, you should not put in the dimention of 0 (this is the default size anyway) and remove the option to set a maxsize.
Created attachment 204917 [details] fix
fixed
If we are confident that this is the final solution, we should remove the commented out code so that it does not cause confusion in the future.
Hi, Paul, just make sure the change of the language is not a temp change for EDT 0.7.0, if yes, I will remove the commented out code.
Verified in 0.7.0.v201110110900.
This is a permanent semantic difference between EDT and RBD