Package: kwave
Severity: normal
Tags: patch
When building 'kwave' on amd64 with gcc-4.0,
I get the following error:
plugin "codec_wav": compiling 'WavDecoder.cpp'
WavFormatMap.h:26: error: using typedef-name 'wav_format_id' after 'enum'
WavFileFormat.h:83: error: 'wav_format_id' has a previous declaration here
make[4]: *** [WavDecoder.o] Error 1
make[4]: Leaving directory `/kwave-0.7.2/plugins/codec_wav'
With the attached patch 'kwave' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/kwave-0.7.2/plugins/codec_wav/WavFormatMap.h
./plugins/codec_wav/WavFormatMap.h
--- ../tmp-orig/kwave-0.7.2/plugins/codec_wav/WavFormatMap.h 2002-05-05
09:12:46.000000000 +0200
+++ ./plugins/codec_wav/WavFormatMap.h 2005-03-07 20:23:49.000000000 +0100
@@ -23,7 +23,6 @@
#include <qstring.h>
#include "WavFileFormat.h"
-enum wav_format_id;
class WavFormatMap: public QMap<wav_format_id, QString>
{
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]