Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Qt-moc guards for boost 1.64 compatibility #534

Merged
merged 1 commit into from
Jun 20, 2017

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Jun 20, 2017

I know boost 1.64 is still far in the future for Ubuntu users, but other
distributions already see this (or will in the near future).

I know this is probably impossible to test for others.
If CI succeeds, this should be good enough for this request.

boost added some more constructs that moc fails to parse recently.
Now Qt's moc fails when any message header is included without the guard.

The corresponding error message is

AutoMoc: Error: moc process for moveit_rviz_plugin_render_tools_autogen/QDX35O74K6/moc_trajectory_panel.cpp failed:
/usr/include/boost/predef/language/stdc.h:52: Parse error at "defined"

boost added some more constructs that moc fails to parse recently.
Now Qt's moc fails when any **message header** is included without the guard.

The corresponding error message is

AutoMoc: Error: moc process for moveit_rviz_plugin_render_tools_autogen/QDX35O74K6/moc_trajectory_panel.cpp failed:
/usr/include/boost/predef/language/stdc.h:52: Parse error at "defined"
@v4hn v4hn merged commit 6198ee9 into moveit:kinetic-devel Jun 20, 2017
@130s 130s added the kinetic PRs to be merged into kinetic branch label Jun 21, 2017
JafarAbdi pushed a commit to JafarAbdi/moveit that referenced this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kinetic PRs to be merged into kinetic branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants