Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCL warning when compiling with -Wall -Wextra #152

Open
VictorLamoine opened this issue Jan 5, 2017 · 0 comments
Open

PCL warning when compiling with -Wall -Wextra #152

VictorLamoine opened this issue Jan 5, 2017 · 0 comments

Comments

@VictorLamoine
Copy link
Contributor

If compilin with -Wall -Wextra

In file included from /usr/local/include/pcl-1.8/pcl/sample_consensus/sac_model.h:52:0,
                 from /usr/local/include/pcl-1.8/pcl/sample_consensus/sac.h:45,
                 from /usr/local/include/pcl-1.8/pcl/segmentation/sac_segmentation.h:49,
                 from /home/victor/code/catkin_workspace/src/bezier/bezier_library/include/bezier_library/bezier_library.hpp:43,
                 from /home/victor/code/catkin_workspace/src/bezier/bezier_library/include/bezier_library/bezier_grinding_surfacing.hpp:4,
                 from /home/victor/code/catkin_workspace/src/michelin_tire_machining/path_planning/src/path_planning.cpp:20:
/usr/local/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/usr/local/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:2: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
   SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
  ^~~~~~~~~~~~~~~
/usr/local/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:2: note: declared here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant