hide static typesupport headers

This commit is contained in:
Dirk Thomas 2014-08-07 14:38:38 -07:00
parent 17ef4a3de2
commit a0757ed0b4
7 changed files with 46 additions and 14 deletions

View file

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
project(userland)
set(CMAKE_CXX_FLAGS "-std=c++0x")
set(CMAKE_CXX_FLAGS "-std=c++0x -Wall")
find_package(ros_middleware_interface REQUIRED)
find_package(ros_dds_connext_dynamic REQUIRED)

View file

@ -6,7 +6,7 @@
#include "std_msgs/Int32.h"
main(int argc, char** argv)
int main(int argc, char** argv)
{
rclcpp::Node* n = create_node();
rclcpp::Publisher<std_msgs::Int32>* p = n->create_publisher<std_msgs::Int32>("topic_name");