-
Notifications
You must be signed in to change notification settings - Fork 42
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
0.8.9.0: compile time warnings #63
Comments
Look at my fork at https://github.com/sezero/libmodplug/tree/sezero which fixes those and more |
Got flooded out with a bunch of these building libmodplug to test after #66 was merged—do you have a patch for these? |
For -Wregister : For misc others, check these out: (There may be more, but these are the ones easy to find.) |
- src/*.[ch]: multiple fixes for gcc -Wmisleading-indentation, -Wshadow, -Wsign-compare, -Wset-but-unused, etc warnings. Fixes for Watcom W007 warnings. (Most from Konstanty#63 are fixed, although I might have missed a few. The -Wodr warnings are not fixed.) - src/*.[ch]: build fixes for older MSVC versions. - configure.ac: revert the hardcoded -macosx-version-min switches from commit 28f938c. it was a very bad idea. - configure.ac: does not really require ac-2.71: work fine down to 2.63. - configure.ac: remove unnecessary stuff. - configure.ac: update libm need and discovery. update src/Makefile.am accordingly. - cmake updates to make it more usable: - fix header list after commit 664512e - add -Wall for gcc and clang - add --no-undefined linker flag if supported - make -lm conditional - add support for visibility attributes - set VERSION / SOVERSION properties of unix shared lib - set dylib version numbers to match libtoolized builds - add test for WORDS_BIGENDIAN - rearrange the file - Makefile.am: add CMakeLists.txt to EXTRA_DIST
Created #70 |
- src/*.[ch]: multiple fixes for gcc -Wmisleading-indentation, -Wshadow, -Wsign-compare, -Wset-but-unused, etc warnings. Fixes for Watcom W007 warnings. (Most from Konstanty#63 are fixed, although I might have missed a few. The -Wodr warnings are not fixed.) - src/*.[ch]: build fixes for older MSVC versions. - configure.ac: revert the hardcoded -macosx-version-min switches from commit 28f938c. it was a very bad idea. - configure.ac: does not really require ac-2.71: work fine down to 2.63. - configure.ac: remove unnecessary stuff. - configure.ac: update libm need and discovery. update src/Makefile.am accordingly. - cmake updates to make it more usable: - fix header list after commit 664512e - add -Wall for gcc and clang - add --no-undefined linker flag if supported - make -lm conditional - add support for visibility attributes - set VERSION / SOVERSION properties of unix shared lib - set dylib version numbers to match libtoolized builds - add test for WORDS_BIGENDIAN - rearrange the file - Makefile.am: add CMakeLists.txt to EXTRA_DIST
Now that PR/70 is in, which warnings do remain? Or, can this be closed? |
Still have these (wish
|
Not only will GCC's "correct" way of suppressing this (manually inserting a |
Opened #83 to fix the rest of the warnings on my end. |
Possibly related: libmodplug segfaults when compiled with UBsan enabled, indicating that libmodplug depends on undefined behavior... No idea how to debug this though. |
Fists just summary stats:
and extracted all warnings from stderr with autoconf (2.71) warnings:
The text was updated successfully, but these errors were encountered: