jerry gay wrote:
> classes\env.pmc(26) : warning C4273: '__p__environ' : inconsistent dll linkage
>         D:\usr\local\perl\bin\perl.exe build_tools\pmc2c.pl --c 
> classes\env.pmc

> normally, i'm able to squash all compiler warnings, but i'm having
> trouble tracking this one down. this, by the way, is the *final*
> compiler warning with msvc, so the person who fixes this bug gets the
> 'clean windows' award :)

Attached patch avoids declaration of environ for MS C compilers, as it
is declared in F<stdlib.h>.  This should enable compilation on MSVC
8.0, and avoid the warning on previous versions.

Changed Files:
    src/classes/env.pmc

Ron

Attachment: msvc_ticket_37665.patch
Description: Binary data

Reply via email to