﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1521	Compilation failed: ‘NAN’ undeclared	rlangella	rlangella	"When compiling, I get this error:

gcc44 -O3 -march=native -fPIC  -I/Produits/publics/x86_64.Linux.RH5/rml-mmc/2.3.8/include/plain -I../../c_runtime -I../ -I.  -Ilpsolve  -c -o SimulationResults_rml.o SimulationResults_rml.c
In file included from SimulationResults_rml.c:36:
SimulationResults.c: In function ‘SimulationResultsImpl__val’:
SimulationResults.c:99: error: ‘NAN’ undeclared (first use in this function)
SimulationResults.c:99: error: (Each undeclared identifier is reported only once
SimulationResults.c:99: error: for each function it appears in.)
make[4]: *** [SimulationResults_rml.o] Error 1


The file SimulationResults_rml.c does include omc_msvc.h which defines NAN, so I don't understand. Copying the NAN definition inside the SimulationResults_rml.c fixed it for me."	defect	closed	high				fixed		rlangella
