You are getting an error about Stat being redefined but I don't see any mention of you looking at the definitions of Stat. I did a quick look and found that the one in win32.h goes like this:
so it appears that win32.h expects to be included after dosish.h.#undef Stat #define Stat win32_stat
So I'd investigate why they are being included in the wrong order.
All copies of perl.h that I have handy only mention perl_os_thread in lines like
and typedef is a reserved word in C so I don't see how you could get that error unless pthread_t is #defined to be something that at least contains whitespace. You might want to use -E (or whatever) to see what output the C preprocessor is producing. - tyetypedef pthread_t perl_os_thread;
In reply to Re: perlxs and c++ : dosish.h(111) : warning C4005: 'Stat' : macro redefinition (debug)
by tye
in thread perlxs and c++ : dosish.h(111) : warning C4005: 'Stat' : macro redefinition
by PodMaster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |