Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12478) Meta-ticket: C99 and gcc "pedantic" warnings
Home

[Freeciv-Dev] (PR#12478) Meta-ticket: C99 and gcc "pedantic" warnings

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12478) Meta-ticket: C99 and gcc "pedantic" warnings
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Fri, 25 Mar 2005 05:12:24 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12478 >

> [jdorje - Fri Mar 11 05:20:06 2005]:
> 
> In an effort to track down Mike Jing's recent compile error, I thought 
> to try adding
> 
>    -pedantic -std=c99
> 
> to my cflags.  The result is a lot of warnings, most of which I can 
> understand as freeciv doing something "bad".
> 
> So, I will provide a series of patches to fix some of these problems.

Hmm I did a test run and it is IMHO not worth it. Most of the errors are 
there because some symbols like __BSD_SOURCE aren't defined and so 
certain functions or macro's are declared.

      Raimar




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