Skip to content

Commit

Permalink
core: Fix pragma message use with clang-cl
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Dec 3, 2024
1 parent bf525f7 commit c5efc62
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions include/hpp/fcl/coal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@

#define COAL_BACKWARD_COMPATIBILITY_WITH_HPP_FCL

#ifdef _MSC_VER
#pragma message COAL_DEPRECATED_HEADER( \
"Please update your includes from 'hpp/fcl' to 'coal'")
#else
#warning "Please update your includes from 'hpp/fcl' to 'coal'"
#endif
// Don't setup warning because there can be ignored by -isystem
#pragma message("Please update your includes from 'hpp/fcl' to 'coal'")

#define HPP_FCL_VERSION_AT_LEAST(major, minor, patch) \
COAL_VERSION_AT_LEAST(major, minor, patch)
Expand Down

0 comments on commit c5efc62

Please sign in to comment.