Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10140) generator.a linker error on OSX
Home

[Freeciv-Dev] (PR#10140) generator.a linker error on OSX

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10140) generator.a linker error on OSX
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Sep 2004 20:22:39 -0700
Reply-to: rt@xxxxxxxxxxx

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

Strangely, if all three symbols in height_map.c are uninitialized, then I get a 
link error.  If any 
combination of the three symbols is initialized, everything is fine.

This patch works around that weirdness by initializing height_map to zero.  
Which it should 
be intialized to anyway, according to the C standard.

Attachment: osx_height_map_link_fix.diff
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10140) generator.a linker error on OSX, Benoit Hudson <=