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
Passing plain identifier inside HPX_DEFINE_PLAIN_ACTION_1 #1550
Comments
Introduced by eb93bb0 |
This was fixed by 2bdf6a5 |
That commit looks like a functional change. Does it require documentation changes to follow? What about announcing the breakage on the mailing list? Where are the basic unit tests to catch this kind of bug? This kind of change should have gone through a pull request. |
@K-ballo I don't think it's functional, because it doesn't break usage of macro and any existing code. Documentation defines it exactly as it is now. Sorry for committing directly to master. |
Whether the change breaks out-of-tree builds depends only on what's documented. The current documentation for |
@K-ballo you're probably right, we should leave it as an variadic macro and try to implement the one argument version analogously to the existing macros. Let's move this to a PR as well. |
A proper fix has been added to the branch fixing_1550. |
Fixed by merging #1553 |
HPX_DEFINE_PLAIN_ACTION_1
andHPX_DEFINE_PLAIN_DIRECT_ACTION_1
pass plain "name" as an identifier for action name, which may cause class redefinition.It might be reasonable to pass
BOOST_PP_CAT(func, _action)
like it's done forHPX_PLAIN_ACTION
or just to remove these macros.The text was updated successfully, but these errors were encountered: