﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1585	error message running makefile	jlettau	jlettau	"Hello, when I run the following model I get the errormessages below:

{{{
function int2real
  input Integer inp;
  output Real outp;
  Real a = 1.0;
  algorithm
  outp := inp * a;
end int2real;  
  
model bug
  Integer t;
  Boolean b;
  Real r1;
equation
    b = r1>0;
    t = if edge(b) then r1 else t;
    r1=int2real(t); 
end bug;
}}}

// error message when running the makefile:
/*
{{{
$ make -f bug.makefile
gcc  -O3 -falign-functions -msse2 -mfpmath=sse   -I""F:/workspace/OpenModelica/build//include/omc"" -I.    -c -o bug.o bug.c
bug.c: In function `residualFunc2':
bug.c:289: error: `$P$PRExloc' undeclared (first use in this function)
bug.c:289: error: (Each undeclared identifier is reported only once
bug.c:289: error: for each function it appears in.)
make: *** [bug.o] Error 1
}}}
*/"	defect	new	blocker						jlettau
