Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10002) compile fails without iconv
Home

[Freeciv-Dev] (PR#10002) compile fails without iconv

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10002) compile fails without iconv
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Thu, 9 Sep 2004 16:50:14 -0700
Reply-to: rt@xxxxxxxxxxx

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

When compiling without iconv:

fciconv.c: In function `get_data_encoding':
fciconv.c:118: error: `data_encoding' undeclared (first use in this
function)
fciconv.c:118: error: (Each undeclared identifier is reported only once
fciconv.c:118: error: for each function it appears in.)
fciconv.c: In function `get_local_encoding':
fciconv.c:124: error: `local_encoding' undeclared (first use in this
function)
fciconv.c: In function `get_internal_encoding':
fciconv.c:130: error: `internal_encoding' undeclared (first use in this
function)
fciconv.c: In function `data_to_internal_string_malloc':
fciconv.c:254: error: `data_encoding' undeclared (first use in this
function)
fciconv.c:254: error: `internal_encoding' undeclared (first use in this
function)
fciconv.c: In function `internal_to_data_string_malloc':
fciconv.c:255: error: `internal_encoding' undeclared (first use in this
function)
fciconv.c:255: error: `data_encoding' undeclared (first use in this
function)
fciconv.c: In function `internal_to_local_string_buffer':
fciconv.c:257: error: `internal_encoding' undeclared (first use in this
function)
fciconv.c:257: error: `local_encoding' undeclared (first use in this
function)

It's simple enough to remove the #ifdef HAVE_ICONV #endif around the
declarations for these variables, but what should the accessor functions
return if there's no iconv?

-James Canete


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10002) compile fails without iconv, James Canete <=