-
Notifications
You must be signed in to change notification settings - Fork 117
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
Various Compile Warnings With GCC 6 #210
Comments
Apparently there's a bug in mingw-w64-gcc 6.1.1, so I had to downgrade to 5.3.0. However, it can't hurt to go ahead and fix the warnings thrown with GCC 6. |
I will look at fixing these when I get around to installing gcc 6 here. The warnings from The warning about a used but undefined function is strange. I intend for that function to be undefined and calls to it optimized out. I am not sure how to get gcc to be quiet about that. |
I pushed changes to address the warnings about I have not had time to investigate the used-but-never-defined warning, although it appears to apply only when macro |
Add workaround for unwanted gcc-6 "used but never defined" warning (pushed about a month ago) should prevent that warning. @zicodxx fixed at least some of the indentation warnings in Fixed misleading indentations. The code currently builds clean for me with gcc-7 (not gcc-6 as reported, but since gcc-7 is generally stricter, I consider this close enough). Please reopen if you still see issues with gcc-6. Closing. |
After dealing with my Windows environment for way too long, I've decided to switch back to cross-compiling from Arch Linux using mingw. This is using GCC 6.
When I did, I got the following warnings:
The text was updated successfully, but these errors were encountered: