audiocd slave doesn't build against cdparanoia

Thiago Macieira thiago at kde.org
Thu Sep 25 07:25:58 BST 2008


Andreas Pakulat wrote:
>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.

Submit a bug report to cdparanoia. It should be fixed in the master 
header.

As a workaround:

extern "C" {
#define private _private
#include <cdda_interfaces.h>
#undef private
}

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20080925/5c789244/attachment.sig>
-------------- next part --------------
_______________________________________________
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