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

Correct the compiler warnings #41

Open
MathieuDutSik opened this issue Oct 29, 2020 · 1 comment
Open

Correct the compiler warnings #41

MathieuDutSik opened this issue Oct 29, 2020 · 1 comment

Comments

@MathieuDutSik
Copy link

With g++ 7.2.0 we have compiler warnings such as
/home/mathieu/GITall/GIT/Satisfiability/minisat/minisat/utils/Options.h:285:29: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(stderr, "%4"PRIi64, range.begin);

Could this be addressed?

@dmdmdm
Copy link

dmdmdm commented Jun 20, 2022

I band-aided that by changing file mtl/template.mk line 23 from:

CFLAGS    ?= -Wall -Wno-parentheses

to:

CFLAGS    ?= -Wno-parentheses -fpermissive -Wno-literal-suffix

Of course, this is a hack so I'm not doing a pull request.

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