Further test cases and fixes for #11211 #71
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relates to : https://svn.boost.org/trac/boost/ticket/11211
This removes the BOOST_CONSTEXPR macro from constructors generated by DEFINE_STRUCT_INLINE as they were generating the same error.
I also added some test cases for this. It runs under
While I was doing the changes, I noticed that we may get more errors with BOOST_CONSTEXPR, as this was added in alot of place, and I'm not sure if we won't get more surprises as those in #11211.
@Flast did you make an auto-replace where BOOST_FUSION_GPU_ENABLED appeared or did you put them individually ? If it was made with auto-replace I think we have to take a tour on each place where it appears and determine if it makes sense, as GPU_ENABLED is not the same use case I think.