Closed yurivict closed 11 months ago
Which Clang version is that, exactly? I tested with Clang 16.0.6 and do not have this problem. Also, which Eigen version? 3.4.0 or another version?
Dynamic
is defined as const int Dynamic = -1;
in Eigen. Usually const variables do not need an explicit data sharing attribute (see e.g. https://stackoverflow.com/questions/76957430 , however maybe that is different in newer OpenMP versions?)
eigen-3.4.0 is used.
On the system where the breakage occurs the exact llvm version is llvmorg-17.0.6-0-g6009708b4367 I am sorry for providing a wrong clang version above. Please also note that C++ libraries are installed separately and can also affect results of compilation.
@yurivict Thanks for the update :slightly_smiling_face: I created a pull request to fix this: https://github.com/PointCloudLibrary/pcl/pull/5903
@yurivict The pull request is merged, so all problems of this kind should be fixed now (at least all problems I found while reproducing). Thanks for reporting this, by the way! In case I overlooked anything, feel free to comment here or open a new issue.
Thank you for fixing it!
Describe the bug
Build fails:
A clear and concise description of what the bug is.
Context
The FreeBSD port fails to build on FreeBSD.
Your Environment (please complete the following information):