----- Original Message ----- 
From: "Vladimir Lipsky" <[EMAIL PROTECTED]>
To: "perl6-internals" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 6:16 AM
Subject: Win32 building


> D:\build\parrot>nmake
> ...
> d:\build\parrot\src\encoding.c(39) : warning C4090: 'function' : different
> 'const' qualifiers
> d:\build\parrot\src\encoding.c(39) : warning C4022: 'mem_sys_free' :
pointer
> mismatch for actual parameter 1
> ...
> <blah, blah>
Yeah, I'm on with them.  :-)  I did a patch to get rid of several of the
warnings a few days back (that was applied), though I'm a little tied for
time at the moment so haven't managed to hunt down the many that remain.
The worst set of them is in jit_emit.h.  They are mostly due to things
like:-
    somechar = 0xDD;
Where somechar is a char.  When cl sees 0xDD it says "aha, it's a const
int", whereas gcc either sees them as a "const char" or just doesn't throw
warnings about the lack of an explicit cast.

Thanks,

Jonathan


Reply via email to