Repository navigation
Conversation
This upstreams a RoboStack build fix from patch/ros-rolling-urdf-parser-plugin.win.patch. MSVC does not support the GCC-style #warning directive. Use #pragma message for MSVC while preserving the existing warning on compilers that support it. Signed-off-by: Tobias Fischer <[email protected]>
|
FYI @wep21 @traversaro, this is a small PR from the effort to upstream RoboStack downstream patches tracked in RoboStack/robostack#124. |
|
Tick the box to add this pull request to the merge queue (same as
|
wjwwood
left a comment
There was a problem hiding this comment.
lgtm, though I hate we have to repeat our selves here, and also it's a shame that MSVC does actually support this, just not in C++20 mode, as this directive was officially added in C++23 (https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2437r1.pdf) and MSVC will allow it in C++23 mode.
|
Pulls: #56 |
This is part of an effort to contribute RoboStack downstream patches back upstream.
This upstreams
patch/ros-rolling-urdf-parser-plugin.win.patch, authored in RoboStack by wep21<[email protected]>.MSVC does not support the GCC-style
#warningdirective. This uses#pragma messagefor MSVC while preserving the existing warning on compilers that support it.