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

use boost::placeholders::_1 instead of deprecated _1 #105

Open
wants to merge 2 commits into
base: noetic-devel
Choose a base branch
from

Conversation

lucasw
Copy link

@lucasw lucasw commented May 23, 2022

Also use default…C++, which will be 14 in noetic, 17 on newer systems which will resolve log4cxx 0.12 error:

Errors     << hector_geotiff:make /home/lucasw/base_catkin_ws/logs/hector_geotiff/build.make.003.log                                                                                                                          
In file included from /usr/include/log4cxx/log4cxx.h:45,
                 from /usr/include/log4cxx/logstring.h:28,
                 from /usr/include/log4cxx/level.h:22,
                 from /usr/include/ros/console.h:46,
                 from /home/lucasw/base_catkin_ws/src/other/hector_slam/hector_geotiff/src/geotiff_writer/geotiff_writer.cpp:30:
/usr/include/log4cxx/boost-std-configuration.h:10:18: error: ‘shared_mutex’ in namespace ‘std’ does not name a type
   10 |     typedef std::shared_mutex shared_mutex;
      |                  ^~~~~~~~~~~~
/usr/include/log4cxx/boost-std-configuration.h:10:13: note: ‘std::shared_mutex’ is only available from C++17 onwards
   10 |     typedef std::shared_mutex shared_mutex;
      |             ^~~

… C++ (which will be 14 in noetic, 17 on newer systems which will resolve log4cxx 0.12 'error: ‘shared_mutex’ in namespace ‘std’ does not name a type')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant