[libannodex-dev] C++ clients and the use of 'class' as struct member names.

Ben Martin monkeyiq at users.sourceforge.net
Thu Mar 9 15:52:33 EST 2006


Hi,
  I might have forgotten to report this a while back :/

  I'm using these versions.
libcmml-0.9.1-1.fc4
libannodex-0.7.3-3.fc4

  And there are a few struct members which have a name 'class' which
makes C++ clients of both libraries fail to compile without doing a
little hacking on the cmml/annodex headers. I'm not sure what you want
to rename this member too, so patches not attached...

Thanks.

/usr/include/annodex/anx_types.h:75: error: expected unqualified-id
before 'class'
/usr/include/annodex/anx_types.h:75: error: abstract declarator 'char*'
used as declaration
/usr/include/annodex/anx_types.h:75: error: expected ';' before 'class'
/usr/include/annodex/anx_types.h:104: error: expected unqualified-id
before 'class'
/usr/include/annodex/anx_types.h:104: error: abstract declarator 'const
char*' used as declaration
/usr/include/annodex/anx_types.h:104: error: expected ';' before 'class'
/usr/include/cmml.h:209: error: expected unqualified-id before 'class'
/usr/include/cmml.h:209: error: abstract declarator 'char*' used as
declaration
/usr/include/cmml.h:209: error: expected ';' before 'class'
/usr/include/cmml.h:244: error: expected unqualified-id before 'class'
/usr/include/cmml.h:244: error: abstract declarator 'char*' used as
declaration
/usr/include/cmml.h:244: error: expected ';' before 'class'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.annodex.net/archives/libannodex-dev/attachments/20060309/cb06d407/attachment.pgp


More information about the libannodex-dev mailing list