-
Notifications
You must be signed in to change notification settings - Fork 109
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
eliminate all format errors #39
Comments
These errors arose recently when we turned many integers into longs to avoid integer overflow triggered by large problem sizes. It has always been my goal to compile without ANY warnings, and for a long time that was indeed the case, except for Charm++ builds, since header files created by Charm++ are not under the control of the programmer. We now need to revisit all these changes. |
@rfvander Yeah, I know that. I just add issues every time I think of something we need to do, since it gives me a place to look when I need something to code :-) |
@rfvander Some code-gen formatting issues were fixed recently in Charm++, and I don't see any issues building the PRK with "-Wformat -Werror" using the current master branch of Charm++ built on icc or gcc. |
That is excellent. Now we should still learn to build in a less verbose mode--same for Grappa--so that by default we don't get all this runtime information. |
By runtime information I assume you mean this? Charmrun> scalable start enabled. We could add such a flag, but there is none right now. |
Indeed. This is useful information, but clutters the output of batch runs. |
Our 6.7.1 release contains a '++quiet' runtime option to silence this output. |
This issues will be closed when the PRK can be built with
CFLAGS=-Wformat -Werror
. We have an enormous number of cases where we passlong
or along long
toprintf(%d)
.The text was updated successfully, but these errors were encountered: