-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
help wantedmodule: cmakeskill: cmakeSkills/areas of expertise needed to tackle the issueSkills/areas of expertise needed to tackle the issuestatus: stale
Description
#2690 added
Line 11 in a2bedc9
set(CMAKE_CXX_STANDARD 14 CACHE STRING "The target C++ standard. PCL requires C++14 or higher.") |
It is nice that we can switch C++14 and C++17, but we only support C++14, because we don't touch 3rd-Party code and with C++17 you get following error message:
/media/sf_pcl/surface/src/3rdparty/opennurbs/opennurbs_evaluate_nurbs.cpp:512:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register double alpha0;
^~~~~~~~~
/media/sf_pcl/surface/src/3rdparty/opennurbs/opennurbs_evaluate_nurbs.cpp:513:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
register double alpha1;
...
So we remove the option to allow the user to change the standard, as we know, only C++14 works and nothing other.
Metadata
Metadata
Assignees
Labels
help wantedmodule: cmakeskill: cmakeSkills/areas of expertise needed to tackle the issueSkills/areas of expertise needed to tackle the issuestatus: stale