Opened 9 years ago
Closed 9 years ago
#4249 closed defect (invalid)
Nightly tests appear to use wrong version of ModelicaTest_trunk
| Reported by: | Rüdiger Franke | Owned by: | Adrian Pop |
|---|---|---|---|
| Priority: | high | Milestone: | 1.12.0 |
| Component: | Testing Framework | Version: | |
| Keywords: | Cc: |
Description
Since 2017-01-29 the *usertab tests fail with the Cpp runtime, see:
In file included from OMCppModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:
./OMCppModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:191:18: error: no matching function for call to 'mydummyfunc'
dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());
^~~~~~~~~~~
./OMCppModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier
double mydummyfunc(double* dummy_in) {
^
The problem was fixed in the trunk version, see the const qualifier for mydummyfunc in:
https://svn.modelica.org/projects/Modelica/trunk/ModelicaTest/Tables/CombiTable1D.mo
Note:
See TracTickets
for help on using tickets.
