in reply to Makefile.pl for a C++ XS module... How to make windows happy?

C++ on win32 is a problem (esp with cl.exe). See Re: perlxs and c++ : dosish.h(111) : warning C4005: 'Stat' : macro redefinition for the magic incantation :)
As long as you dont use streams, C++ is possible on win32.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re: Makefile.pl for a C++ XS module... How to make windows happy?

Replies are listed 'Best First'.
Re: Re: Makefile.pl for a C++ XS module... How to make windows happy?
by flyingmoose (Priest) on Feb 27, 2004 at 14:59 UTC
    Other than that fprintf and the other C constructs are so much more useful and terse than the C++ streams, what is the reason for not "crossing the streams" (Sorry for bad Ghostbuster's analogy) with C++ and Perl on win32?
      Because it simply won't compile, no other reason. It's like trying to compile a perlXS extension (like Storable) with perl 5.005_03 (one of the first win32 versions) -- it requres significant modification of the perl core :(

      I hope some future perl5 version will support this, but I wouldn't depend on it (maybe it will be supported through cross-compiling, MinGW anyone? :D)

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.