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

Don't use short version of 'tinyformat/fmt' namespace in util.h #1975

Merged
merged 2 commits into from
Mar 8, 2018

Conversation

codablock
Copy link

Clion is not able to parse this correctly and messes up all the syntax
checks, marking large parts of C++ files as syntactically invalid, making
it hard to find real syntax errors without trying compilation.

Clion is not able to parse this correctly and messes up all the syntax
checks, marking large parts of C++ files as syntactically invalid, making
it hard to find real syntax errors without trying compilation.
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 added this to the 12.3 milestone Mar 7, 2018
@codablock
Copy link
Author

codablock commented Mar 8, 2018

Added an additional commit to do the same for strprintf in tinyformat.h

I'm aware that tinyformat.h is not ours and a proper "fix" should probably be done in upstream. But I strongly doubt that such a change would be accepted as it is only useful for Clion users. Also, merge conflicts from upstream updates should be really easy to fix here, so I'd suggest to make an exception here.

@UdjinM6
Copy link

UdjinM6 commented Mar 8, 2018

re-utACK

@UdjinM6 UdjinM6 merged commit 3200eae into dashpay:develop Mar 8, 2018
@codablock codablock deleted the pr_clion_fmt_fix branch March 8, 2018 13:26
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
…pay#1975)

* Don't use short version of 'tinyformat/fmt' namespace in util.h

Clion is not able to parse this correctly and messes up all the syntax
checks, marking large parts of C++ files as syntactically invalid, making
it hard to find real syntax errors without trying compilation.

* Also use full namespace name for strprintf in tinyformat.h
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Feb 28, 2019
…pay#1975)

* Don't use short version of 'tinyformat/fmt' namespace in util.h

Clion is not able to parse this correctly and messes up all the syntax
checks, marking large parts of C++ files as syntactically invalid, making
it hard to find real syntax errors without trying compilation.

* Also use full namespace name for strprintf in tinyformat.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.

2 participants