incal
incal

Reputation: 43

sdk ios6 libxml2 expected ';'

After upgrading to the latest xcode sdk ios6 I can't build my project; I have an issue with libxml and can't fix it

This code:

typedef void (XMLCDECL *warningSAXFunc) (void *ctx,
                const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);

Generates:

Expected ';' after top level declaration

Can anyone help me?

Upvotes: 0

Views: 179

Answers (1)

incal
incal

Reputation: 43

I have added:

${SDKROOT}

To the 'Header search path', so it is:

${SDKROOT}/usr/include/libxml2

Upvotes: 1

Related Questions