﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3457	Codegen issue after back end changes	Lennart Ochel	Lennart Ochel	"{{{ simulation/libraries/msl32/Modelica.Electrical.Digital.Examples.RAM.mos}}} fails after the latest back end changes (#3452):

{{{
Modelica.Electrical.Digital.Examples.RAM_06inz.c:358:27: warning: implicit declaration of function 'omc_Modelica_Electrical_Digital_Memories_DLATRAM_getMemory' is invalid in C99 [-Wimplicit-function-declarati$
  copy_integer_array_data(omc_Modelica_Electrical_Digital_Memories_DLATRAM_getMemory(threadData, $PdLATRAM$PfileName, (modelica_integer) 2, (modelica_integer) 2, NULL, NULL), &tmp18);
                          ^
Modelica.Electrical.Digital.Examples.RAM_06inz.c:358:27: error: passing 'int' to parameter of incompatible type 'integer_array_t' (aka 'struct base_array_s')
  copy_integer_array_data(omc_Modelica_Electrical_Digital_Memories_DLATRAM_getMemory(threadData, $PdLATRAM$PfileName, (modelica_integer) 2, (modelica_integer) 2, NULL, NULL), &tmp18);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lochel/OpenModelica/build/include/omc/c/util/integer_array.h:85:59: note: passing argument to parameter 'source' here
extern void copy_integer_array_data(const integer_array_t source, integer_array_t* dest);
                                                          ^
1 warning and 1 error generated.
}}}"	defect	closed	high	1.9.4	Code Generation		fixed		Adrian Pop
