audiocd slave doesn't build against cdparanoia
Andreas Pakulat
apaku at gmx.de
Tue Sep 23 22:28:23 BST 2008
Hi,
I've got a slight problem here building kdemultimedia with cdparanoia
support. the cdda_interfaces.h header contains this line
cdda_private_data_t *private;
which of course is not valid C++. The #include for the header is inside
an extern "C" block, however building kdemultimedia my gcc still barfs
on that line. Anybody has an idea how to fix this? Please CC me on
replies as I'm not subscribed to this list.
Here's gcc's output, I'm using gcc 4.3.2 from debian.
[ 55%] Building CXX object
kioslave/audiocd/CMakeFiles/kio_audiocd.dir/audiocd.o
cd /home/andreas/src/build/kdemultimedia/kioslave/audiocd &&
/usr/bin/c++ -D_BSD_SOURCE -D_XOPEN_SOURCE=500-D_BSD_SOURCE
-DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS
-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -Dkio_audiocd_EXPORTS -pipe
-Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
-fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual
-fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden
-O2 -g -fPIC -I/home/andreas/src/build/kdemultimedia/kioslave/audiocd
-I/home/andreas/src/kdemultimedia/kioslave/audiocd
-I/home/andreas/src/kdemultimedia
-I/home/andreas/src/build/kdemultimedia
-I/home/andreas/src/kdemultimedia/libkcddb
-I/home/andreas/src/build/kdemultimedia/libkcddb
-I/home/andreas/src/kdemultimedia/libkcompactdisc
-I/home/andreas/src/build/kdemultimedia/libkcompactdisc
-I/usr/local/include -I/usr/local/include/KDE
-I/usr/local/include/QtXmlPatterns -I/usr/local/include/QtWebKit
-I/usr/local/include/QtHelp -I/usr/local/include/QtAssistant
-I/usr/local/include/QtDBus -I/usr/local/include/QtTest
-I/usr/local/include/QtUiTools -I/usr/local/include/QtScript
-I/usr/local/include/QtSvg -I/usr/local/include/QtXml
-I/usr/local/include/QtSql -I/usr/local/include/QtOpenGL
-I/usr/local/include/QtNetwork -I/usr/local/include/QtDesigner
-I/usr/local/include/Qt3Support -I/usr/local/include/QtGui
-I/usr/local/include/QtCore -I/usr/local/include/Qt
-I/usr/local/mkspecs/default -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -o CMakeFiles/kio_audiocd.dir/audiocd.o -c
/home/andreas/src/kdemultimedia/kioslave/audiocd/audiocd.cpp
In file included from
/home/andreas/src/kdemultimedia/kioslave/audiocd/audiocd.cpp:30:
/usr/include/cdda_interface.h:98: error: expected unqualified-id before
‘private’
/usr/include/cdda_interface.h:98: error: expected ‘;’ before ‘private’
Andreas
--
You will gain money by an illegal action.
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia
More information about the kde-multimedia
mailing list