compile error in rtt 2.5.0 when using Clang

compile error in rtt 2.5.0 when using Clang

On Wed, Dec 14, 2011 at 7:40 PM, <t [dot] j [dot] a [dot] devries [..] ...> wrote:
> If I try to compile RTT 2.5.0 with Clang, I get the following error:
> rtt/rtt/internal/DataSourceTypeInfo.hpp:152: error: member access into
> incomplete type 'const types::TypeInfo'
>             static const std::string& getTypeName()  { return
> getTypeInfo()->getTypeName(); }
>
> I guess it does not want this function to be defined inline.

Which clang version ?

Peter

compile error in rtt 2.5.0 when using Clang

2011/12/15 Peter Soetens <peter [..] ...>:
> On Wed, Dec 14, 2011 at 7:40 PM,  <t [dot] j [dot] a [dot] devries [..] ...> wrote:
>> If I try to compile RTT 2.5.0 with Clang, I get the following error:
>> rtt/rtt/internal/DataSourceTypeInfo.hpp:152: error: member access into
>> incomplete type 'const types::TypeInfo'
>>             static const std::string& getTypeName()  { return
>> getTypeInfo()->getTypeName(); }
>>
>> I guess it does not want this function to be defined inline.
>
> Which clang version ?
>
> Peter

$ clang --version
clang version 3.0 (tags/RELEASE_30/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

Theo