Hi,

I built Parrot for the first time in a while today and got errors like:

src\extend.c(78) : error C2375: 'Parrot_PMC_get_string_intkey' : redefinition; different linkage .\include\parrot/extend.h(60) : see declaration of 'Parrot_PMC_get_string_intkey'

If you use PARROT_API in a C implementation file (.c), you must make sure you also use it in the header file (.h). You can put it just in the header file and not in the implementation file and it's fine, but the other way round doesn't work. I have sprinkled PARROT_API in extend.h and io.h as required to get the Parrot executable to build - hopefully this is an OK thing to have done; I'm still catching up on what's been going on while I've been away.

Seems that nci_test.c has different, but related problems with inconsistent use of PARROT_API, though I've not time to look into this right now.

Thanks,

Jonathan

Reply via email to