[Mono-list] Mono warnings

Piers Haken piersh@friskit.com
Tue, 4 Feb 2003 10:24:19 -0800


This is a multi-part message in MIME format.

------_=_NextPart_001_01C2CC7A.A22FB18A
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_002_01C2CC7A.A22FB18A"


------_=_NextPart_002_01C2CC7A.A22FB18A
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Doh!! Thanks scott. Here it is...

-----Original Message-----
From: Scott Blomfield [mailto:scott.blomfield@fstcredit.com]=20
Sent: Tuesday, February 04, 2003 10:03 AM
To: Piers Haken
Subject: RE: [Mono-list] Mono warnings


I think you forgot the attachment. You might want to resend to the list.
=20
hth,
=20
Scott

-----Original Message-----
From: Piers Haken [mailto:piersh@friskit.com]=20
Sent: Tuesday, February 04, 2003 12:05 PM
To: mono-list@ximian.com
Subject: [Mono-list] Mono warnings



Attached is a patch that fixes most of the remaining compiler warnings
for the mono build on linux.=20

One of the warnings I didn't fix is:=20
  object.c: In function `mono_class_vtable':=20
  object.c:223: warning: assignment makes integer from pointer without a
cast=20

I didn't know if it was okay that it was only copying a char.=20

Let me know if you want me to commit.=20

Piers.=20


------_=_NextPart_002_01C2CC7A.A22FB18A
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D574452318-04022003><FONT face=3DArial color=3D#800080 =
size=3D2>Doh!!=20
Thanks scott. Here it is...</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800080 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Scott Blomfield=20
  [mailto:scott.blomfield@fstcredit.com] <BR><B>Sent:</B> Tuesday, =
February 04,=20
  2003 10:03 AM<BR><B>To:</B> Piers Haken<BR><B>Subject:</B> RE: =
[Mono-list]=20
  Mono warnings<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D896540618-04022003><FONT face=3DArial =
color=3D#0000ff size=3D2>I=20
  think you forgot the attachment. You might want to resend to the=20
  list.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D896540618-04022003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D896540618-04022003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>hth,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D896540618-04022003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D896540618-04022003><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Scott</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
    face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Piers Haken=20
    [mailto:piersh@friskit.com] <BR><B>Sent:</B> Tuesday, February 04, =
2003=20
    12:05 PM<BR><B>To:</B> mono-list@ximian.com<BR><B>Subject:</B> =
[Mono-list]=20
    Mono warnings<BR><BR></FONT></DIV><!-- Converted from text/rtf =
format -->
    <P><FONT face=3DArial color=3D#800080 size=3D1>Attached is a patch =
that fixes most=20
    of the remaining compiler warnings for the mono build on =
linux.</FONT> </P>
    <P><FONT face=3DArial color=3D#800080 size=3D1>One of the warnings I =
didn't fix=20
    is:</FONT> <BR><FONT face=3DArial color=3D#800080 size=3D1>&nbsp; =
object.c: In=20
    function `mono_class_vtable':</FONT> <BR><FONT face=3DArial =
color=3D#800080=20
    size=3D1>&nbsp; object.c:223: warning: assignment makes integer from =
pointer=20
    without a cast</FONT> </P>
    <P><FONT face=3DArial color=3D#800080 size=3D1>I didn't know if it =
was okay that=20
    it was only copying a char.</FONT> </P>
    <P><FONT face=3DArial color=3D#800080 size=3D1>Let me know if you =
want me to=20
    commit.</FONT> </P>
    <P><FONT face=3DArial color=3D#800080 size=3D1>Piers.</FONT>=20
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_002_01C2CC7A.A22FB18A--

------_=_NextPart_001_01C2CC7A.A22FB18A
Content-Type: text/plain;
	name="patch.txt"
Content-Transfer-Encoding: base64
Content-Description: patch.txt
Content-Disposition: attachment;
	filename="patch.txt"

PyBhCj8gYXJjaC9zMzkwL01ha2VmaWxlCj8gYXJjaC9zMzkwL01ha2VmaWxlLmluCj8gbWV0YWRh
dGEvYQo/IG1ldGFkYXRhL21vbm9zbgpJbmRleDogZGlzL2R1bXAuYwo9PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBm
aWxlOiAvY3ZzL3B1YmxpYy9tb25vL21vbm8vZGlzL2R1bXAuYyx2CnJldHJpZXZpbmcgcmV2aXNp
b24gMS4zNwpkaWZmIC11IC1yMS4zNyBkdW1wLmMKLS0tIGRpcy9kdW1wLmMJMjcgSmFuIDIwMDMg
MTY6MjA6NDEgLTAwMDAJMS4zNworKysgZGlzL2R1bXAuYwk0IEZlYiAyMDAzIDE3OjM5OjI5IC0w
MDAwCkBAIC01NjksNyArNTY5LDcgQEAKIGR1bXBfdGFibGVfbWV0aG9kaW1wbCAoTW9ub0ltYWdl
ICptKQogewogCU1vbm9UYWJsZUluZm8gKnQgPSAmbS0+dGFibGVzIFtNT05PX1RBQkxFX01FVEhP
RElNUExdOwotC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