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

Compiler warnings #244

Open
molpopgen opened this issue Feb 17, 2020 · 2 comments
Open

Compiler warnings #244

molpopgen opened this issue Feb 17, 2020 · 2 comments

Comments

@molpopgen
Copy link
Owner

There are currently lots of warnings due to implicit conversions. These need to be checked and fixed. A lot of the solution will be to use auto liberally!

These flags will be key:

./configure --enable-debug=yes CPPFLAGS='-Wall -W -Weffc++ -Wconversion'
@molpopgen
Copy link
Owner Author

On GCC, we need -Wsign-conversion, too.

@molpopgen
Copy link
Owner Author

On GCC, we need -Wsign-conversion, too.

Will punt on this, as it imposes a ridiculous constraint on array indexing.

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

1 participant