Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] (PR#4528) No freelog in lockfile.c
Home

[Freeciv-Dev] (PR#4528) No freelog in lockfile.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4528) No freelog in lockfile.c
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Thu, 10 Jul 2003 10:58:13 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Compilation fails:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../common    -g -O2 -Werror -Wall 
 -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations 
 -c lockfile.c
cc1: warnings being treated as errors
 ../../common/log.h:72: warning: `logdebug_check' defined but not used

Solution:

either 
 guard log.h inclusion by the same #ifdefs as are used for freelog 
 occurences
or (simpler)
 add a freelog(LOG_DEBUG, ...) call somewhere


G.




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#4528) No freelog in lockfile.c, Gregory Berkolaiko <=