Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-fcl
Commits
9568e23d
Unverified
Commit
9568e23d
authored
Jun 02, 2021
by
Justin Carpentier
Committed by
GitHub
Jun 02, 2021
Browse files
Merge pull request #226 from nim65s/topic/c++17
workaround GCC >= 7 / C++17 / boost::serialization / Eigen bug
parents
80fe9ecf
7d0f2872
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/hpp/fcl/serialization/eigen.h
View file @
9568e23d
...
...
@@ -16,6 +16,17 @@
#include <boost/serialization/vector.hpp>
#include <boost/serialization/array.hpp>
// Workaround a bug in GCC >= 7 and C++17
// ref. https://gitlab.com/libeigen/eigen/-/issues/1676
#ifdef __GNUC__
#if __GNUC__ >= 7 && __cplusplus >= 201703L
namespace
boost
{
namespace
serialization
{
struct
U
;
}
}
namespace
Eigen
{
namespace
internal
{
template
<
>
struct
traits
<
boost
::
serialization
::
U
>
{
enum
{
Flags
=
0
};};
}
}
#endif
#endif
namespace
boost
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment