Compile Warnings.

"Valnir" <[email protected]> Wed, 22 Nov 2006 11:05:37 -0500
Newsgroups gmane.games.devel.mud.rom
Message-ID <[email protected]>
Hey guys. Everyone was complaining about not having any traffic on this
 list, so here's something to get you thinking over the long weekend.

 I am running my mud on WolfPaw and everything compiles perfect. No error=
s,
 no warnings. All good. I am thinking about moving where my mud is hosted
 though. The new server is running Fedora Core 5 with GCC 4.1.1 and I get=
 an
 interesting compliation warning:

 gcc -c -Wall -g3  comm.c
 comm.c: In function =C3=A2=E2=82=AC=CB=9Cinit_descriptor=C3=A2=E2=82=AC=E2=
=84=A2:
 comm.c:986: warning: pointer targets in passing argument 3 of
 =C3=A2=E2=82=AC=CB=9Cgetsockname=C3=A2=E2=82=AC=E2=84=A2 differ in signe=
dness
 comm.c:987: warning: pointer targets in passing argument 3 of =C3=A2=E2=82=
=AC=CB=9Caccept=C3=A2=E2=82=AC=E2=84=A2
 differ in signedness
 comm.c:1010: warning: pointer targets in passing argument 3 of
 =C3=A2=E2=82=AC=CB=9Cgetpeername=C3=A2=E2=82=AC=E2=84=A2 differ in signe=
dness

 It's a clean make, so I know it's getting all the Fedora header files wi=
th
 nothing left over from the WolfPaw build. I went ahead and tried to run =
it
 to see what it would do, but as I expected (since the warning is in the
 descriptor stuff) it crashed as soon as I tried to log in.

 Also, just on a side note. Any idea how to get the funny aE characters t=
hat=20
show un instead of quotes to show as quotes?

example: =C3=A2=E2=82=AC=CB=9Caccept=C3=A2=E2=82=AC=E2=84=A2 should be `a=
ccept'

 Thanks!

 - Valnir

--=20
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom