1
0
mirror of http://mpg123.de/trunk/.git synced 2025-10-25 04:37:34 +03:00

more nagging nagging, less nagging debugging

git-svn-id: svn://scm.orgis.org/mpg123/trunk@4115 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2016-11-06 14:21:23 +00:00
parent eea096abf2
commit e770b6b399
2 changed files with 5 additions and 6 deletions

2
NEWS
View File

@@ -41,6 +41,8 @@
The display of currently playing track in the playlist is fixed for random The display of currently playing track in the playlist is fixed for random
and looped play now. and looped play now.
- Looping is now mentioned for a to-be-repeated track with --verbose. - Looping is now mentioned for a to-be-repeated track with --verbose.
- Move some compiler nagging from --enable-debug to --enable-nagging, fix up
some new build failures by adding some pesky feature test macros.
1.23.8 1.23.8
------ ------

View File

@@ -1215,18 +1215,15 @@ AC_CHECK_HEADER([os2.h], [ADD_CPPFLAGS="$ADD_CPPFLAGS -DOS2"])
# On OS/2, we need to link to os2term to make terminal control actually work. # On OS/2, we need to link to os2term to make terminal control actually work.
AC_CHECK_LIB([os2term], [tcsetattr], [ADD_LDFLAGS="$ADD_LDFLAGS -los2term"]) AC_CHECK_LIB([os2term], [tcsetattr], [ADD_LDFLAGS="$ADD_LDFLAGS -los2term"])
# If debugging is enabled then make warnings errors # If debugging is enabled, just enable debugging symbols.
# All other stuff enters nagging territory.
if test x"$debugging" = xenabled; then if test x"$debugging" = xenabled; then
ADD_CFLAGS="-g" ADD_CFLAGS="-g"
# gcc specific...
if test x"$GCC" = xyes; then
ADD_CFLAGS="$ADD_CFLAGS -Wall -fno-strict-aliasing"
fi
fi fi
# gcc specific... # gcc specific...
if test x"$GCC" = xyes; then if test x"$GCC" = xyes; then
if test x"$nagging" = xenabled; then if test x"$nagging" = xenabled; then
ADD_CFLAGS="$ADD_CFLAGS -Werror -std=c89 -pedantic -DPLAIN_C89" ADD_CFLAGS="$ADD_CFLAGS -Wall -Werror -std=c89 -pedantic -DPLAIN_C89"
fi fi
fi fi