Skip to content

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

Merged
emstoudenmire merged 4 commits intoITensor:v3from
emstoudenmire:issue_279
May 5, 2020
Merged

Remove util/print_macro.h from all.h#352
emstoudenmire merged 4 commits intoITensor:v3from
emstoudenmire:issue_279

Conversation

@emstoudenmire
Copy link
Copy Markdown
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