Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Name conflict between MinGW C++ standard library header and Perl development header

by llancet (Friar)
on Nov 11, 2014 at 10:25 UTC ( [id://1106800]=note: print w/replies, xml ) Need Help??


in reply to Re: 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

Why I don't got this issue while compiling same code under Linux?
  • Comment on Re^2: Name conflict between MinGW C++ standard library header and Perl development header

Replies are listed 'Best First'.
Re^3: Name conflict between MinGW C++ standard library header and Perl development header
by syphilis (Archbishop) on Nov 11, 2014 at 11:09 UTC
    Why I don't got this issue while compiling same code under Linux?

    Does "write" get defined to PerlLIO_write for you in Linux ?
    use strict; use warnings; use Inline C => <<'EOC'; int foo() { #ifdef write return 1; #else return 0; #endif } EOC print foo();
    All Inline::C scripts automatically load XSUB.h - hence no need to specifically #include that header.
    That script outputs 1 for me on Windows, but 0 for me on Debian Wheezy.

    Cheers,
    Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1106800]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found