Hi,
I have an application which uses xml security c 1.4.0
If the application is compiled using gcc (version 4.1.2) and the -pedantic
option, the compiler gives the following errors:
DSIGTransform.hpp:34: error: extra ‘;’
DSIGTransform.hpp:35: error: extra ‘;’
...
etc.
if I look at the source there is the following line in
xsec/dsig/DSIGTransform.hpp :
XSEC_DECLARE_XERCES_CLASS(DOMNode);
Looking at xsec/framework/XSECDefs.hpp this expands into :
namespace XERCES_CPP_NAMESPACE { class DOMNode; };
gcc complains about this last ; when using -pedantic
Is this intentional ? Should xml-security-c not be compiled with -pedantic
or is it something which needs fixing in the xml security sources ?
Thanks,
Ralph.