Skip to content

Use pragma message for obsolete parser header on MSVC#56

Open
Tobias-Fischer wants to merge 1 commit into
ros2:rollingfrom
Tobias-Fischer:codex/robostack-urdf-parser-plugin-msvc-warning
Open

Use pragma message for obsolete parser header on MSVC#56
Tobias-Fischer wants to merge 1 commit into
ros2:rollingfrom
Tobias-Fischer:codex/robostack-urdf-parser-plugin-msvc-warning

Conversation

@Tobias-Fischer

Copy link
Copy Markdown

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 <daisuke.nishimatsu1021@gmail.com>.

MSVC does not support the GCC-style #warning directive. This uses #pragma message for MSVC while preserving the existing warning on compilers that support it.

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 <info@tobiasfischer.info>
@Tobias-Fischer

Copy link
Copy Markdown
Author

FYI @wep21 @traversaro, this is a small PR from the effort to upstream RoboStack downstream patches tracked in RoboStack/robostack.github.io#16.

@mergify

mergify Bot commented Jul 19, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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