Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: (PR#4231) mingw32 & sdl client
Home

[Freeciv-Dev] Re: (PR#4231) mingw32 & sdl client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bursig@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4231) mingw32 & sdl client
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 May 2003 21:56:06 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Per I. Mathisen wrote:
> Well, graphics.c now compiled. But more exciting errors showed up!
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include
> -I../../common -I../../common/aicore -I../../intl -I./../agents
> -I/usr/local/include/SDL -Dmain=SDL_main -I/d/Program\
> Files/GnuWin32/include -I/d/Program\ Files/GnuWin32/include/freetype2
> -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
> -Wmissing-declarations -c `test -f 'gui_iconv.c' || echo './'`gui_iconv.c
> gui_iconv.c: In function `convert_to_utf16':
> gui_iconv.c:120: warning: passing arg 2 of `libiconv' from incompatible
> pointer type
> gui_iconv.c: In function `convertcopy_to_utf16':
> gui_iconv.c:197: warning: passing arg 2 of `libiconv' from incompatible
> pointer type
> gui_iconv.c: In function `convert_to_chars':
> gui_iconv.c:277: warning: passing arg 2 of `libiconv' from incompatible
> pointer type

See the ICONV_CONST definition, this should be put in front of the 
declarations of those variables.

jason




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