Re: MSVC Warnings

2002-03-21 Thread Josh Wilmes
I've applied the classes/intqueue.pmc patch. The other needs adjustment. FWIW, your change doesn't cure the errors on TCC: "string.c", line 51: Error: [ISO 6.3.16.1]: Conversion casts away 'const'-ness. [ISO 6.3.16]: Can't perform this conversion by assignment. "string.c", line 55: Error

Re: MSVC Warnings

2002-03-21 Thread Michel J Lambert
Ooops. I originally did the /**/, but thought that was way too easy to be C code, and so changed them to //. :) Below is a proper patch. Mike Lambert Index: core.ops === RCS file: /cvs/public/parrot/core.ops,v retrieving revision 1

Re: MSVC Warnings

2002-03-21 Thread Simon Glover
On Thu, 21 Mar 2002, Michel J Lambert wrote: > +//KEY_PAIR src_key_p, dest_key_p; > +//KEY src_key, dest_key; [etc.] These need to be C-style comments; not every compiler will accept the C++ style ones. Simon

MSVC Warnings

2002-03-21 Thread Michel J Lambert
We take in const params, and set them into non-const members of STRING: string.c(51) : warning C4090: '=' : different 'const' qualifiers string.c(55) : warning C4090: '=' : different 'const' qualifiers Due to MAKE_KEY in set_keyed setting keys[0] on an uninitialized pointer. But I hear this isn'

The remaining MSVC warnings

2002-01-15 Thread Michel Lambert
Here are the warnings that remain in MSVC on level 4. 1) core.ops(2481) : warning C4047: 'return' : 'void ** ' differs in levels of indirection from 'long *' This occurs when compiling core_ops_prederef.c. run_native and run_compiled both return a long*. This meshes well with core_ops.c's use of