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

adapt preprocessor defines for result_of/invoke_result #133

Closed
wants to merge 2 commits into from

Conversation

tnagler
Copy link

@tnagler tnagler commented Jan 12, 2024

Regarding #123: I don't really have the capacity to work on the Eigen 3.4.0 update, but I thought adapting the relevant parts (1, 2, 3) of the preprocessor logic could be an easy fix to make the warnings disappear (and ensure RcppEigen compiles with C++20)?

Copy link
Member

@eddelbuettel eddelbuettel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this a lot -- thanks for spotting it!

Will approve, but need of course to check. Would be a huge quality of life change if it did what I hope it does.

@tnagler
Copy link
Author

tnagler commented Jan 12, 2024

Oh sorry, spotted some missing defines. Updating shortly.

@eddelbuettel
Copy link
Member

Hi @tnagler we managed to get 3.4.0 in, at last! How do you about maybe rebasing and seeing if this would fit now?

@tnagler
Copy link
Author

tnagler commented Feb 29, 2024

Oh that's great! After updating to Eigen 3.4.0, this PR should be redundant, because I simply stripped the relevant parts from the 3.4.0 Macros.h and Meta.h. I'll close for now and check these days, whether everything works.

@tnagler tnagler closed this Feb 29, 2024
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