[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-dev] libxml2 header errors
- From: Martin Wuerthner <lists@xxxxxxxxxxxxxxx>
- Date: Tue, 16 May 2006 18:53:29 +0200
- Subject: [XaraXtreme-dev] libxml2 header errors
When trying to compile the latest revision, I get the following errors
when camtypes.h is compiled:
/usr/include/libxml2/libxml/xmlerror.h:820: error: typedef
'xmlGenericErrorFunc' is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/xmlerror.h:851: error: function 'void
xmlParserError(void*, const char*, ...)' is initialized like a
variable
/usr/include/libxml2/libxml/xmlerror.h:855: error: function 'void
xmlParserWarning(void*, const char*, ...)' is initialized like a
variable
/usr/include/libxml2/libxml/xmlerror.h:859: error: function 'void
xmlParserValidityError(void*, const char*, ...)' is initialized like a
variable
/usr/include/libxml2/libxml/xmlerror.h:863: error: function 'void
xmlParserValidityWarning(void*, const char*, ...)' is initialized like
a variable
/usr/include/libxml2/libxml/valid.h:44: error: typedef
'xmlValidityErrorFunc' is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/valid.h:59: error: typedef
'xmlValidityWarningFunc' is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/parser.h:595: error: typedef
'warningSAXFunc' is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/parser.h:605: error: typedef
'errorSAXFunc' is initialized (use __typeof__ instead)
/usr/include/libxml2/libxml/parser.h:617: error: typedef
'fatalErrorSAXFunc' is initialized (use __typeof__ instead)
This is on SUSE 10.0 with libxml2 2.6.20 installed. There seems to be
a problem with libxml's ATTRIBUTE_PRINTF macro - all the affected
lines make use of it. Does anyone else get these errors?
Martin