Opened 11 years ago

Closed 11 years ago

#2339 closed defect (fixed)

Code generation issues for: Modelica.Electrical.QuasiStationary.MultiPhase.Examples.*

Reported by: Adrian Pop Owned by: Mahder Alemseged Gebremedhin
Priority: high Milestone: 1.9.0
Component: Code Generation Version: trunk
Keywords: Cc:

Description

Modelica.Electrical.QuasiStationary.MultiPhase.Examples.* examples
now generate code but the code does not compile. Seems to be a problem
with arrays of Complex records and also an issue with operator overloading:

In file included from Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.c:17:
Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_functions.c: In function 'omc_Complex__omcQuot_2A_scalarProduct':
Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_functions.c:124: error: invalid type argument of 'unary *' (have 'int')
Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_functions.c:124: error: invalid type argument of 'unary *' (have 'int')

Change History (2)

comment:1 by Adrian Pop, 11 years ago

Owner: changed from Martin Sjölund to Mahder Alemseged Gebremedhin
Status: newassigned

comment:2 by Adrian Pop, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r17313.

Note: See TracTickets for help on using tickets.