Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Re: PATCH: log.h warning remove
Home

[Freeciv-Dev] Re: PATCH: log.h warning remove

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: PATCH: log.h warning remove
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Sat, 02 Sep 2000 08:24:35 -0400

At 2000/09/01 12:26 , Dirk Stoecker wrote:
>the logdebug_suppress_warning does work for GCC only. Here
>a patch to enable the warning-remove for other compilers as well
>and also remove the useless code generated by the previous method.
>
>The function stuff has been surrounded by an #ifndef and the
>files including log.h without needing the freelog() function
>need to define LOG_FREELOG_UNUSED before including it. Really
>easy and does not waste program space.
>
>Affects common/log.h server/civserver.c and server/console.c.

Here's a patch that adds a feature (LOG_NEVER), fixes the
logdebug_suppress_warning() bug and affects only common/log.h.

Attachment: log-warning-fix-0.diff
Description: Text document

jjm

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: PATCH: log.h warning remove, Jeff Mallatt <=