Simon Glover (via RT) <[EMAIL PROTECTED]> writes:

>  Brent's sprintf patch introduced a couple of new warnings here:
> 
>   exceptions.c: In function `do_panic':
>   exceptions.c:69: warning: signed and unsigned type in conditional
>   expression
>   trace.c:22: warning: no previous prototype for `dump_pmc'
> 
>  These seem to be harmless and the enclosed patches fix them.
> 
>  Simon

I was about submitting nearly the same patch.
A little too late...

[...]
> --- include/parrot/trace.h.old        Fri Oct 11 11:45:41 2002
> +++ include/parrot/trace.h    Fri Oct 11 11:46:50 2002
> @@ -15,6 +15,8 @@
> 
>  #include "parrot/parrot.h"
> 
> +void dump_pmc(struct Parrot_Interp *interpreter, PMC* pmc);
> +
>  void trace_key_dump(struct Parrot_Interp *interpreter, PMC *key);
> 
>  void trace_op_dump(struct Parrot_Interp *interpreter, opcode_t * code_start,

I had also renamed the function dump_pmc to trace_dump_pmc because all
function in trace.h are prefixed with trace, but I was not clear if
this is necessary.

bye
b.
-- 
Juergen Boemmels                        [EMAIL PROTECTED]
Fachbereich Physik                      Tel: ++49-(0)631-205-2817
Universitaet Kaiserslautern             Fax: ++49-(0)631-205-3906
PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F  23 F6 C7 2F 85 93 DD 47

Reply via email to