Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78641 --- shadow/78641 2006-06-14 06:21:25.000000000 -0400 +++ shadow/78641.tmp.3314 2006-06-14 06:21:25.000000000 -0400 @@ -0,0 +1,36 @@ +Bug#: 78641 +Product: Mono: Runtime +Version: 1.0 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Cosmetic +Component: JIT +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [PATCH] quiet some gcc signed warnings in ppc port + +The ppc port prints out literally hundreds of warnings when compiled +because one macro has a different signed pointer. I hope below patch won't +be mangled too badly: + +--- a/mono/arch/ppc/ppc-codegen.h 2006-06-13 03:46:46.643458983 +0200 ++++ b/mono/arch/ppc/ppc-codegen.h 2006-06-13 03:46:46.643458983 +0200 +@@ -117,7 +117,7 @@ + PPC_TRAP_GE_UN = 16 + PPC_TRAP_EQ + }; + +-#define ppc_emit32(c,x) do { *((guint32 *) (c)) = (guint32)(x); (c) = +(char *)(c) + sizeof (guint32);} while (0) ++#define ppc_emit32(c,x) do { *((guint32 *) (c)) = (guint32)(x); (c) = +(guint8 *)(c) + sizeof (guint32);} while (0) + + #define ppc_is_imm16(val) ((gint)(val) >= (gint)-(1<<15) && (gint)(val) <= +(gint)((1<<15)-1)) + #define ppc_is_uimm16(val) ((gint)(val) >= 0 && (gint)(val) <= 65535) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
