[Freeciv-Dev] (PR#4528) No freelog in lockfile.c
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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 <=
|
|