Skip to content

Build Fail 'error: conflicting types for '__parsley_recurse'. Missing definition? #6

@314

Description

@314

Hi,

Building the latest version (e4cebc7) on OSX 10.10.1 with Homebrew/Xcode/Gcc throws this:

parsley.c:753:6: error: conflicting types for '__parsley_recurse'
void __parsley_recurse(contextPtr context) {

I just fixed by sticking a definition in parsley.h but I'm guessing from the name that it might not be the way you intended.

diff --git a/parsley.h b/parsley.h
index ac927c6..1167185 100644
--- a/parsley.h
+++ b/parsley.h
@@ -71,6 +71,7 @@ enum {
typedef parsley_context * contextPtr;

void parsed_parsley_free(parsedParsleyPtr);
+void __parsley_recurse(contextPtr context);

void killDefaultNS(xmlDocPtr doc);
void parsley_free(parsleyPtr);
@@ -84,4 +85,4 @@ void parsleyXsltError(void * ctx, const char * msg, ...);
void parsley_set_user_agent(char const *agent);
static contextPtr parsley_parsing_context;

Thanks again for open-sourcing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions