[wm21 - android] Compile error when declare structure in control template

Startbeitrag von ccc2 am 04.01.2017 12:45

I discover weird error

when I declare structure in control template global declaration section , WM don't give error but when compile the code where you reference the structure , gradle give error symbol not found.

my solution is.
move the structure declaration to project code section. then compile. no error. after that copy back to control template global declaration section . some how after this the error not show up anymore :rp:

Antworten:

it look like the bugs still exist in WM22 french . here I post part of the error. it generate very long errors. this make me wonder , is it allow to declare structure in control template ?

:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
C:\Project\MyApp4\Android\Generation\src\com\MyCompany\MyApp5\wdgen\GWDFWIN_Country_Setup.java:11815: error: cannot find symbol
vWD_arg_array = WDParametre.traiterParametreTableau(vWD_arg_array, 1, true, new int[]{0}, 36, GWDCST_LooperD3.class);
^
symbol: class GWDCST_LooperD3
location: class GWDFWIN_Country_Setup.GWDCt_Continent
C:\Project\MyApp4\Android\Generation\src\com\MyCompany\MyApp5\wdgen\GWDFWIN_Country_Setup.java:11822: error: cannot find symbol
vWD_M_ST_LooperD3 = new GWDCST_LooperD3();

von ccc2 - am 05.01.2017 05:08
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.