Opened 10 years ago
Last modified 7 years ago
#2756 accepted defect
OM reports an error in the C code it creates — at Version 1
Reported by: | massimo ceraolo | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Code Generation | Version: | trunk |
Keywords: | Cc: | Lennart Ochel, Willi Braun |
Description (last modified by )
If I run (using OM r20199) "gridTest21" of the enclosed package "AutoCreateBug" I get the following message:
"C:\Programmi\OpenModelica1.9.1Nightly\\MinGW\bin\mingw32-make.exe" -f AutoCreateBug.gridTest21.makefile gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Programmi/OpenModelica1.9.1Nightly//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o AutoCreateBug.gridTest21.o AutoCreateBug.gridTest21.c AutoCreateBug.gridTest21.c: In function 'AutoCreateBug_gridTest21_eqFunction_27': AutoCreateBug.gridTest21.c:458: error: expected expression before 'modelica_integer' AutoCreateBug.gridTest21.c:458: error: expected ')' before '$Pi$rB$Pv' AutoCreateBug.gridTest21.c:460: error: expected expression before 'modelica_integer' AutoCreateBug.gridTest21.c:460: error: expected ')' before '$Pi$rB$Pv' mingw32-make: *** [AutoCreateBug.gridTest21.o] Error 1 Compilation process exited with code 2
It seems that OM creates for this model a C file that is invalid.
Change History (2)
by , 10 years ago
Attachment: | AutoCreateBug.mo added |
---|
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.