Build error with commoncpp2-1.3.27

Michel de Boer <[email protected]>
Newsgroups gmane.comp.gnu.ccrtp.devel
Message-ID <[email protected]>
I received reports from users who tried to built my softphone against
commoncpp2-1.3.27. They got the errors below.

I am still running 1.3.21 and then the build works fine.
Is 1.3.27 not backwards compatible with 1.3.21?

Regards,
Michel


In file included from /usr/include/ccrtp/queuebase.h:47,
                 from /usr/include/ccrtp/iqueue.h:47,
                 from /usr/include/ccrtp/ioqueue.h:47,
                 from /usr/include/ccrtp/cqueue.h:47,
                 from /usr/include/ccrtp/rtp.h:52,
                 from twinkle_rtp_session.h:5,
                 from twinkle_rtp_session.cpp:1:
/usr/include/cc++2/cc++/pointer.h:56: error: invalid function declaration
In file included from /usr/include/ccrtp/iqueue.h:47,
                 from /usr/include/ccrtp/ioqueue.h:47,
                 from /usr/include/ccrtp/cqueue.h:47,
                 from /usr/include/ccrtp/rtp.h:52,
                 from twinkle_rtp_session.h:5,
                 from twinkle_rtp_session.cpp:1:
/usr/include/ccrtp/queuebase.h:158: error: expected `;' before '<' token
/usr/include/ccrtp/queuebase.h: In member function `ost::PayloadType
ost::AppDataUnit::getType() const':
/usr/include/ccrtp/queuebase.h:98: error: `datablock' was not declared
in this scope
/usr/include/ccrtp/queuebase.h: In member function `const uint8* const
ost::AppDataUnit::getData() const':
/usr/include/ccrtp/queuebase.h:109: error: `datablock' was not declared
in this scope
/usr/include/ccrtp/queuebase.h: In member function `size_t
ost::AppDataUnit::getSize() const':
/usr/include/ccrtp/queuebase.h:116: error: `datablock' was not declared
in this scope
/usr/include/ccrtp/queuebase.h: In member function `bool
ost::AppDataUnit::isMarked() const':
/usr/include/ccrtp/queuebase.h:132: error: `datablock' was not declared
in this scope
/usr/include/ccrtp/queuebase.h: In member function `uint16
ost::AppDataUnit::getSeqNum() const':
/usr/include/ccrtp/queuebase.h:139: error: `datablock' was not declared
in this scope
/usr/include/ccrtp/queuebase.h: In member function `uint8
ost::AppDataUnit::getContributorsCount() const':
/usr/include/ccrtp/queuebase.h:146: error: `datablock' was not declared
in this scope
/usr/include/ccrtp/queuebase.h: In member function `const uint32*
ost::AppDataUnit::getContributorsID() const':
/usr/include/ccrtp/queuebase.h:155: error: `datablock' was not declared
in this scope
make[3]: *** [twinkle_rtp_session.o] Error 1
make[3]: Leaving directory `/tmp/twinkle-0.7/src/audio'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/twinkle-0.7/src/audio'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/twinkle-0.7/src'
make: *** [install-recursive] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.