Tuesday, December 13, 2005, 10:38:42 PM, jerry gay wrote:
> On 12/13/05, Ron Blaschke <[EMAIL PROTECTED]> wrote:
>> 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
>>
> thanks, this patch applied cleanly and built without warning on win32-msvc.
> also builds and tests clean on i386-linux-gcc. also, since at the time
> this bug was filed, this was the last msvc warning, you have earned
> the 'clean windows' award.
> congrats, ron.

Great! Thanks Jerry.

Now that the simple stuff is out of the way I can start with more
meaty stuff.  env and eval issues are next.

Ron

Reply via email to