|
From: | h.g. muller |
Subject: | Re: [Bug-XBoard] Xboard doesn't compile with --disable-zippy |
Date: | Wed, 04 Aug 2010 11:38:12 +0200 |
At 21:36 3-8-2010 -0400, Adrian Petrescu wrote:
If I run configure with the --disable-zippy flag (which successfully shows "zippy: no" in the configuration summary), trying to make fails with the following errors:In file included from xboard.c:1347: args.h:597: error: 'AppData' has no member named 'zippyLines'It looks like an easy enough thing to fix, probably just have to #ifdef out some things from args.h?
Adrian is spot on. The problem is actually that there was an #ifdef ZIPPY in args.h, but it should have been an #if ZIPPY to have any effect. I found the same error in 4 other places in the code (backend.c, xboard.c, winboard.c 2x), and changed it all. All these errors were inherited from 4.4.x, where I fixed them too. (args.h was part of winboard.c then.) XBoard compiles now with the --disable-zippy flag. Haven't tried WinBoard, I would not even know how to disable zippy there. I guess no one has been compiling without zippy for a very long time. I found #ifdef ZIPPYs in winboard.c of 4.2.7...
Fixes are uploaded to the hgm.nubati.net repository.
[Prev in Thread] | Current Thread | [Next in Thread] |