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

Eliminated compiler warnings #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Eliminated compiler warnings #14

wants to merge 1 commit into from

Conversation

bjoo
Copy link
Contributor

@bjoo bjoo commented May 28, 2021

I added some patches to eliminate compiler warnings. Most came from unused variables, so I defined a macro to magic those away. Then there were. a bunch of:

if( foo ) 
  QMP_printf(...) ; fflush(stdout);

which tripped the misleading indentation warning so I changed these up with {} as

if (foo) { 
 QMP_printf(...) ; fflush(stdout);
}

The other things were comparisons between signed and unsigned ints. So I tried to make these work.
Please review and merge.

@bjoo bjoo requested review from mathiaswagner and jcosborn May 28, 2021 15:50
@mathiaswagner
Copy link
Collaborator

This seems to build from lattice/quda#1156 without warnings now. Thanks @bjoo !

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