﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4807	Red warnings show up in OMEdit when compiling models	Francesco Casella	Adeel Asghar	"It has been a while since some red lines started appearing again in the OMEdit compilation window, no matter which model is compiled:
{{{
In file included from ScalablePowerGrids.Tests.GridBusSimpleControl_N_1_M_1.c:7:0:
C:/OpenModelica1.13.0-dev-64bit/include/omc/c/simulation/solver/perform_simulation.c: In function 'fmtInit':
C:/OpenModelica1.13.0-dev-64bit/include/omc/c/simulation/solver/perform_simulation.c:179:27: warning: passing argument 1 of 'GC_asprintf' from incompatible pointer type [-Wincompatible-pointer-types]
       if (0 > GC_asprintf((char**)&fullFileName, ""%s/%s"", omc_flagValue[FLAG_OUTPUT_PATH], data->modelData->modelFilePrefix)) {
                           ^
In file included from C:/OpenModelica1.13.0-dev-64bit/include/omc/c/openmodelica_func.h:52:0,
                 from ScalablePowerGrids.Tests.GridBusSimpleControl_N_1_M_1_model.h:5,
                 from ScalablePowerGrids.Tests.GridBusSimpleControl_N_1_M_1.c:2:
C:/OpenModelica1.13.0-dev-64bit/include/omc/c/util/modelica_string.h:72:5: note: expected 'const char **' but argument is of type 'char **'
 int GC_asprintf(const char **strp, const char *fmt, ...);
}}}

I'm using OMEdit v1.13.0-dev-102-g86eb4414 (64-bit)
Connected to v1.13.0-dev-491-g85e616238 (64-bit) on Windows 10 Professional.

We shouldn't have this problems in the final release, so I am marking this as a blocker for 1.13.0

@adeas31, can you please take care of this and possibly reassign it to whomever can fix the problem?

Thanks!

"	defect	closed	blocker		OMEdit		duplicate		
