[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] libboard and board.h
From: |
SP LEE |
Subject: |
Re: [gnugo-devel] libboard and board.h |
Date: |
Fri, 22 Aug 2003 14:26:30 -0700 |
> On Tue, 19 Aug 2003, SP LEE wrote:
>
> > > However, the current board.h can't be compiled, because the
constants
> > in
> > > the enum colors, EMPTY, BLACK and WHITE introduce some confilicts
in
> > > VC++ and have to be renamed.
> > >
> > > SP Lee
> > >
> > >
> > >
> >
> > The following patch may be used to solve the problem.
>
> Where do these conflicts come from? As far as I can see, they are
> defined exactly once in board.h.
>
> (N.B.: I didn't get the .dsp-patch yet.)
>
> Arend
>
>
Arend,
I have revised board.dsp and engine.dsp. The gnugo.dsp will be
UNCHANGED. Please check the following patches. Furthermore, I found the
problem of redefining BLACK, WHITE and EMPTY. In extract_fuseki.c, the
include file sgftree.h should be after liberty.h where board.h is
included. The patch for extract_fuseki.c is also attached.
I don't understand very well the gnugo.h mentioned in board.dsp, but it
doesn't belong to any source file group.
SP Lee
$ diff -u board.dsp ../../board.dsp
--- board.dsp 2003-08-22 13:59:24.000000000 -0700
+++ ../../board.dsp 2003-08-22 13:57:42.000000000 -0700
@@ -89,6 +89,10 @@
# End Source File
# Begin Source File
+SOURCE=.\boardlib.c
+# End Source File
+# Begin Source File
+
SOURCE=.\cache.c
# End Source File
# Begin Source File
@@ -116,14 +120,14 @@
SOURCE=.\sgffile.c
# End Source File
-# Begin Source File
-
-SOURCE=.\showbord.c
-# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\board.h
+# End Source File
# End Group
# End Target
# End Project
$ diff -u engine.dsp ../../engine.dsp
--- engine.dsp 2003-08-22 13:59:24.000000000 -0700
+++ ../../engine.dsp 2003-08-22 13:57:42.000000000 -0700
@@ -111,6 +111,10 @@
# End Source File
# Begin Source File
+SOURCE=.\boardlib.c
+# End Source File
+# Begin Source File
+
SOURCE=.\breakin.c
!IF "$(CFG)" == "engine - Win32 Release"
@@ -527,6 +530,10 @@
# PROP Default_Filter ""
# Begin Source File
+SOURCE=.\board.h
+# End Source File
+# Begin Source File
+
SOURCE=.\cache.h
# End Source File
# Begin Source File
begin 666 extract_fuseki.patch
address@hidden(&5X=')A8W1?9G5S96MI+F,-"CT]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T-"E)#4R!F:6QE.B O8W9S<F]O="]G;G5G;R]G;G5G;R]P871T97)N<R]E
M>'1R86-T7V9U<V5K:2YC+'8-"G)E=')I979I;F<@<F5V:7-I;VX@,2XQ-PT*
M9&EF9B M=2 M<C$N,3<@97AT<F%C=%]F=7-E:VDN8PT*+2TM(&5X=')A8W1?
M9G5S96MI+F,),3@@2G5L(#(P,#,@,address@hidden,C(@+3 P,# ),2XQ-PT**RLK
M(&5X=')A8W1?9G5S96MI+F,),C(@075G(#(P,#,@,C$Z,#8Z,3(@+3 P,# -
M"D! ("TV.2PQ," K-CDL,3 @0$ -"B C:6YC;'5D92 \<W1D:6\N:#X-"B C
M:6YC;'5D92 \<W1R:address@hidden@(VEN8VQU9&4@/&QI;6ET<RYH/@T*+2-I
M;F-L=61E("(N+B]S9V8O<V=F=')E92YH(@T*("-I;F-L=61E(")L:6)E<G1Y
address@hidden@(VEN8VQU9&4@(F=G7W5T:address@hidden@(VEN8VQU9&4@(G)A;F1O
M;2YH(@T**R-I;F-L=61E("(N+B]S9V8O<V=F=')E92YH(@T*( T*("-D969I
M;address@hidden@(EQN7 T*(%5S86=E.B!E>'1R86-T7V9U<V5K:2!F:6QE<R!B
M;V%R9'-I>F4@;6]V97,@<&%T=&5R;G,@:&%N9&EC87 @<W1R96YG=&@@:&%L
:9E]B;V%R9"!;;W5T<'5T(&9I;&5=7&Y<#0H`
`
end
- Re: [gnugo-devel] libboard and board.h, (continued)
- Re: [gnugo-devel] libboard and board.h, Arend Bayer, 2003/08/05
- Re: [gnugo-devel] libboard and board.h, Gunnar Farneback, 2003/08/06
- Re: [gnugo-devel] libboard and board.h, Arend Bayer, 2003/08/07
- Re: [gnugo-devel] libboard and board.h, Arend Bayer, 2003/08/09
- Re: [gnugo-devel] libboard and board.h, Arend Bayer, 2003/08/10
- Re: [gnugo-devel] libboard and board.h, Arend Bayer, 2003/08/10
- Re: [gnugo-devel] libboard and board.h, SP LEE, 2003/08/20
- Re: [gnugo-devel] libboard and board.h, Gunnar Farneback, 2003/08/23
Re: [gnugo-devel] libboard and board.h, SP LEE, 2003/08/20
Re: Re: [gnugo-devel] libboard and board.h, SP LEE, 2003/08/22