orocos-toolchain / rtt

Orocos Real-Time Toolkit
http://www.orocos.org
Other
72 stars 79 forks source link

Moved instantiation of DataSource template types for bool and std::string from the typekit to the core library #153

Closed meyerj closed 5 years ago

meyerj commented 8 years ago

This is for consistency reasons and to avoid duplicate code generation. The RTT core already uses various bool and std::string data sources internally and hence already has instantiations of these template classes. This patch adds extern template declarations to the DataSource.hpp and DataSources.hpp headers and removes them from the typekit headers.

Also the instantiation of the rt_string and rt_ostringstream classes (not of the respective RTT template instantiations) has been moved from the typekit to the core library for similar reasons.

This patch removes the GCC compiler warning type attributes ignored after type is already defined [-Wattributes] while compiling the typekit library (from Types.inc) because of inconsistent visibility attributes.

meyerj commented 8 years ago

Merged to toolchain-2.9 branch in 6ccb412fe4e6a51751b35f497fe6abbebd2d0930.

meyerj commented 5 years ago

This patch was already merged in the duplicate #234.