in reply to Re^4: Name conflict between MinGW C++ standard library header and Perl development header
in thread Name conflict between MinGW C++ standard library header and Perl development header

Yes, the line num changed

Then I can't envisage the situation that leaves "write" defined to ""PerlLIO_write" - but apparently that's what's happening.

It's probably not the best way, but I'd be fiddling about with some Inline::C scripts to check on some things.
Based on the information at hand, I would think that the following Inline::C script (untested) should produce the error:
use Inline C => Config => BUILD_NOISY =>1, INC => '-ID:/mydoc/projects/GenoEye-0.4.5-Source/src'; use Inline C => <<'EOC'; /* #undef write */ #include <genoeye/Common.h> EOC
and that the error should disappear once the #undef is commented in. (Though your experience suggests that that the inclusion of #undef write into the code will make no difference.)

Cheers,
Rob
  • Comment on Re^5: Name conflict between MinGW C++ standard library header and Perl development header
  • Select or Download Code