[Bug 933] New: Compiling RTT with Clang

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

Summary: Compiling RTT with Clang
Product: Toolchain
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

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

Hi,

I tried to compile RTT with Clang which resulted in the following error:

/home/rsmits/ros/orocos_toolchain/rtt/rtt/internal/DataSourceTypeInfo.hpp:152:76:
error: member access into incomplete type 'const types::TypeInfo'
static const std::string& getTypeName() { return
getTypeInfo()->getTypeName(); }

I'm not sure whether the my fix is 100% correct, but the attached patch at
least resolves the compilation error.

Ruben

[Bug 933] Compiling RTT with Clang

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

Jean-Francois Dupuis <jfdupuis00 [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jfdupuis00 [..] ...

[Bug 933] Compiling RTT with Clang

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

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |peter [..] ...
Resolution| |FIXED