﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3154	OMOptim and clang: incomplete type 'Variable' named in nested name specifier	Stefan Hoelldampf <stefan.hoelldampf@…>	Hubert Thieriot	"openmodelica r24555: Several compilation errors with clang (version ""clang-3.5.0-6.fc21.x86_64"" on Fedora 21) in OMOptim:

Example (see also the attached log file):

In file included from ../Core/Dymola/ModPlusDymolaCtrl.cpp:44:
In file included from ../Core/Dymola/ModPlusDymolaCtrl.h:18:
In file included from ../Core/Modelica/ModPlusCtrl.h:47:
In file included from ../../OMOptimBasis/MOVector.h:169:
../../OMOptimBasis/MOVector.cpp:121:12: error: incomplete type 'Variable' named in nested name specifier
    return ItemClass::nbFields;
           ^~~~~~~~~~~
../Core/Dymola/ModPlusDymolaCtrl.cpp:121:21: note: in instantiation of member function 'MOAVector<Variable>::columnCount' requested here
    finalVariables->clear();
                    ^
../Core/ModelPlus.h:14:7: note: forward declaration of 'Variable'
class Variable;
      ^
"	defect	new	high	Future	OMOptim	trunk			
