Skip to content

Conversation

@sumir0
Copy link
Contributor

@sumir0 sumir0 commented Nov 29, 2025

  • Move (H|h)as_ traits from point_types.hpp into field_traits.(h|hpp)
  • Add field_traits.h include where field traits are used
  • Change a MSVC compiler warning reset via #pragma warning((push|pop))
  • Add field_traits.h include in point_types.h for backward compatibility
  • Remove unnecessary pcl/point_types.h includes in some files
  • Add missing pcl/point_types.h includes in some files

* Move `(H|h)as_` traits from `point_types.hpp` into `field_traits.(h|hpp)`
* Add `field_traits.h` include where field traits are used
* Change a MSVC compiler warning reset via `#pragma warning((push|pop))`
* Add `field_traits.h` include in `point_types.h` for backward compatibility

Signed-off-by: Ramir Sultanov <[email protected]>
@sumir0 sumir0 changed the title Split point_types.hpp part into field_traits.(h|hpp) WIP: Split point_types.hpp part into field_traits.(h|hpp) Nov 29, 2025
@sumir0
Copy link
Contributor Author

sumir0 commented Nov 29, 2025

Also may fix #5040

@sumir0
Copy link
Contributor Author

sumir0 commented Nov 29, 2025

Based on #6367

@sumir0
Copy link
Contributor Author

sumir0 commented Nov 29, 2025

I will try to build manually with PCL_OPTIMIZE_IMPORTS_FIELD_TRAITS. Maybe additional pipelines can be considered.


Edit: Compilation finished successfully.

@sumir0 sumir0 changed the title WIP: Split point_types.hpp part into field_traits.(h|hpp) Split point_types.hpp part into field_traits.(h|hpp) Nov 29, 2025
@sumir0 sumir0 marked this pull request as ready for review November 29, 2025 13:31
* Remove unnecessary `pcl/point_types.h` includes in some files
* Add missing `pcl/point_types.h` includes in some files

Signed-off-by: Ramir Sultanov <[email protected]>
* Change license description in `pcl/field_traits.(h|hpp)`

Signed-off-by: Ramir Sultanov <[email protected]>
* Add missing `pcl/point_types.h` includes in `examples`

Signed-off-by: Ramir Sultanov <[email protected]>
@sumir0 sumir0 changed the title Split point_types.hpp part into field_traits.(h|hpp) WIP: Split point_types.hpp part into field_traits.(h|hpp) Dec 3, 2025
@sumir0 sumir0 marked this pull request as draft December 3, 2025 15:00
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.

2 participants