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

Reserved user defined literal: Space needed between string and PRIi64 token #13

Open
Siesh1oo opened this issue Mar 10, 2014 · 1 comment

Comments

@Siesh1oo
Copy link

Hi,

Applications using Minisat will not compile in strict mode with latest compilers (reported with workaround for example in the README of the Open-Source synthesis tool YOSYS, https://github.com/cliffordwolf/yosys/blob/master/README#L283). This is fixed by adding a whitespace between the format string and the PRIi64 token: "%4" PRIi64.

Sincerely,
H.

/include/minisat/utils/Options.h:285:33: error: invalid suffix on literal; C++11
      requires a space between literal and identifier [-Wreserved-user-defined-literal]
            fprintf(stderr, "%4"PRIi64, range.begin);
                                ^
conp-solutions referenced this issue in conp-solutions/mergesat Apr 6, 2018
Resolution for bug tracker issues #1, #4, #9, #10, #12, #13, #14.
@showkeyjar
Copy link

add space between string and PRIi64 token not work.

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

No branches or pull requests

2 participants