Reported by Ozkan Sezer <sezeroz@gmail.com>:
There are also warnings wherever list_entry() macro is used, such as:
src/load.c: In function 'unlink_tempfiles':
src/load.c:404:8: warning: cast from pointer to integer of different size
... or:
options.c: In function 'usage':
options.c:52:8: warning: cast from pointer to integer of different size
options.c:57:8: warning: cast from pointer to integer of different size
... which may be cured by changing (unsigned long) cast with (size_t)
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Mostly in a standards-compliant way this time, complain if set as "no".
This is being re-added by user request.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This patch makes xmp compatible with win64. Here is the relevant warning
from gcc:
sound_win32.c: In function 'init':
sound_win32.c:97:50: warning: cast from pointer to integer of different size
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Command-line options use minus signs, but groff interprets '-' as a
hyphen, which is a different Unicode character. For text which may be
copied to a command-line for re-use, it's preferable to use explicit
minus signs, '\-' in groff. See
http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html for more
details.
We don't need libtool support, so remove libtoolize from the autogen
script (and create build-aux to prevent errors when installing missing
components required by automake).
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Since the buildsystem is now automake based, and a simple autoreconf
doesn't work, this adds a basic autogen.sh to automate building the
configure script.
Only BEOS/Haiku require g++ (due to sound_beos.cpp); on all other
platforms, make sure we do not error out during linking when g++ is
absent.
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
- Enabled the appropriate macros so that alsa and pulseaudio drivers
are enabled in src/sound.c.
- Replace DRIVER_QNX and DRIVER_ALSA05 for SOUND_QNX and SOUND_ALSA05
- Change SOUND_PULSE to SOUND_PULSEAUDIO to keep naming consistent
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>