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

Remove util/print_macro.h from all.h #352

Merged
merged 4 commits into from May 5, 2020

Conversation

emstoudenmire
Copy link
Contributor

This PR fixes bug #279, which is that the itensor/all.h convenience header pulls in util/print_macro.h. However, this can cause conflicts with other libraries which may use the name Print for variables, function names, or other macros. To use the Print macro going forward, users must include itensor/util/print_macro.h explicitly.

Fixes #279

@emstoudenmire emstoudenmire merged commit 9afc9ea into ITensor:v3 May 5, 2020
@emstoudenmire emstoudenmire deleted the issue_279 branch May 5, 2020 21:22
strandn pushed a commit to tgingrich/ITensor that referenced this pull request Nov 9, 2020
Remove util/print_macro.h from all.h
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.

all.h is pulling in print_macro.h
1 participant