gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] vcrepair_3_13.1


From: Trevor Morris
Subject: [gnugo-devel] vcrepair_3_13.1
Date: Tue, 03 Dec 2002 21:51:41 -0500

http://www.public32.com/games/go/vcrepair_3_13.1
- adds include paths and build dependencies to VC for mkeyes

This obvious patch yields compiler warnings.
I suppose this patch is correct and the warnings should be fixed.
  [probably just a #undef of DEBUG before the redefine in mkeyes.c(42),
   though this overloading of DEBUG is probably not be ideal. ]
The gcc definition of DEBUG is typically variadic, and gcc may not
mind the overloading it (?).

--------------------Configuration: mkeyes - Win32 Debug--------------------
Compiling...
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
cl /MLd /W2 /Gm /GX /ZI /Od /I ".." /I "..\engine" /I "..\sgf" /D "_DEBUG" /D 
"HAVE_CONFIG_H" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"Debug/" /Fo"Debug/" 
/Fd"Debug/mkeyes" /FD /GZ /c 
   "C:\temp\1\ml.vcrep\gnugo\patterns\mkeyes.c"
mkeyes.c
c:\temp\1\ml.vcrep\gnugo\patterns\mkeyes.c(42) : warning C4005: 'DEBUG' : macro 
redefinition
        c:\temp\1\ml.vcrep\gnugo\engine\gnugo.h(390) : see previous definition 
of 'DEBUG'
Linking...

mkeyes.exe - 0 error(s), 1 warning(s)


At 01:43 AM 12/4/2002 +0100, Arend Bayer wrote:
>Trevor wrote:
>
>> VC build's been broken for a few days.  Here's a link to the build
>> log:
>> http://www.public32.com/pcolon/builds/gnugo/2002-12-2/build.log
>>
>> Any ideas what broke it?
>
>That must be Paul's optics patch. It now includes eyes.h and thus liberty.h.
>I think with gcc the problem below would be caused by a missing
>-I../engine/ (header files include path). Of course no idea what this
>translates to in VC.
>
>Arend
>
>> --------------------Configuration: mkeyes - Win32 Release--------------------
>> Compiling...
>> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
>> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>> cl /ML /GX /Zi /O2 /I ".." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" 
>> /D "HAVE_CONFIG_H" /Fo"Release/" /Fd"Release/mkeyes" /FD /c
>>    "P:\builds\gnugo\2002-12-2\gnugo\patterns\mkeyes.c"
>> mkeyes.c
>> P:\builds\gnugo\2002-12-2\gnugo\patterns\eyes.h(22) : fatal error C1083: 
>> Cannot open include file: 'liberty.h': No such file or directory
>> Error executing cl.exe.
>
>
>
>_______________________________________________
>gnugo-devel mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/gnugo-devel 






reply via email to

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