#3758 closed defect (fixed)
MSL NoiseExamples fail with Cpp runtime
Reported by: | rfranke | Owned by: | rfranke |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Cpp Run-time | Version: | |
Keywords: | Cc: |
Description
Just found out that the examples of Modelica.Blocks.Noise are failing with the message
Can't get pointer to write to ArraySlice
This is because we pass an input as non-const array to an external function. Will fix it as soon as github is open again.
Change History (3)
comment:1 Changed 9 years ago by rfranke
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.5 to 1.10.0
Milestone renamed
Note: See
TracTickets for help on using
tickets.
Fixed in a4ad037/OMCompiler. The NoiseExamples are simulating now.
There is a side effect with generated signatures for functions receiving const arrays, see 83309e5/OMCompiler.
A test for both effects was added in ffd8b12/OpenModelica-testsuite.