Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8704) Patch: Fix wrong error messages in Windows.
Home

[Freeciv-Dev] Re: (PR#8704) Patch: Fix wrong error messages in Windows.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: vasc@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8704) Patch: Fix wrong error messages in Windows.
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 8 May 2004 18:30:43 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8704 >

Vasco Alexandre da Silva Costa wrote:

> This new patch checks for FormatMessage failure and outputs an error
> message with the error number. So even on Wine or weird systems you will
> get some error reporting.

I get this warning:

support.c: In function `mystrerror':
support.c:147: warning: int format, DWORD arg (arg 4)

I'm not sure what a DWORD is but either you shouldn't use %d or you 
should cast it as an integer.

jason




[Prev in Thread] Current Thread [Next in Thread]