[Bug 1029] New: Build failure with Clang in mixtureParticleFilter.cpp

http://bugs.orocos.org/show_bug.cgi?id=1029

Summary: Build failure with Clang in mixtureParticleFilter.cpp
Product: BFL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: bfl [..] ...
ReportedBy: d235j [dot] 1 [..] ...
CC: bfl [..] ...
Estimated Hours: 0.0

Created attachment 860
--> http://bugs.orocos.org/attachment.cgi?id=860
Bugfix patch

When compiling BFL with clang, I get this error:

/tmp/bfl/src/filter/mixtureParticleFilter.cpp:105:27: error: member reference
base type 'Mixture<SVar> *' is not a structure or union
for(int i =0 ; i < prior.NumComponentsGet() ; i++)
~~~~~^~~~~~~~~~~~~~~~~
/tmp/bfl/src/filter/mixtureParticleFilter.cpp:111:27: error: member reference
base type 'Mixture<SVar> *' is not a structure or union
for(int i =0 ; i < prior.NumComponentsGet() ; i++)
~~~~~^~~~~~~~~~~~~~~~~
/tmp/bfl/src/filter/mixtureParticleFilter.cpp:113:32: error: member reference
base type 'Mixture<SVar> *' is not a structure or union
_old_samplesVec[i] = (prior.ComponentGet(i)->ListOfSamplesGet());
~~~~~^~~~~~~~~~~~~
3 errors generated.

The attached patch fixes this bug.

[Bug 1029] Build failure with Clang in mixtureParticleFilter.cpp

http://bugs.orocos.org/show_bug.cgi?id=1029

d235j [dot] 1 [..] ... changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #860|application/octet-stream |text/plain
mime type| |