[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [gnugo-devel] VC repair

From: Portela Fernand
Subject: RE: [gnugo-devel] VC repair
Date: Sun, 22 Dec 2002 18:23:52 +0100

I wrote:

> Well, I just did a 'cvs update' and I'm getting now a load of troubles
> with arend_3_13.8. Currently, nothing builds. I'm looking into it.

It seems the dumb VC++ doesn't understand these :


AFAICT, these macros are always used with preceding '&'. So what about
changing the definition to something like this :

#define INITIAL_INFLUENCE(color) ((color) == WHITE ? \
                                                &initial_white_influence \

After this change (and corresponding '&' removals in all occurences of
INITIAL_INFLUENCE and OPPOSITE_INFLUENCE), I can compile cleanly with

For EXPERIMENTAL_READING 1, I still have troubles in mkpat.c around line

  if (database_type == DB_TREE)
    tree_write_patterns(outfile, prefix);
    fprintf(outfile, "\nvoid\ninit_tree_%s(void)\n{\n"
            "  /* nothing to do - tree option not compiled */\n"
            "}\n\n", name);

VC++ says tree_write_patterns() doesn't have that much parameters and the
name variable is undefined.


reply via email to

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