Author: Robert Hyatt
Date: 18:57:18 07/18/04
Go up one level in this thread
On July 18, 2004 at 14:49:20, Per Steneskog wrote: >I recommend for every *.h file ALWAYS have the structure > >#ifndef FILENAME >#define FILENAME > >..content.. > >#endif > >That way there is never any risk you will run into this kind of error. Even if >one correctly only includes each file once, you can be sure someone else will >include your code twice somehow. > >// Regards Per Steneskog This _is_ in all the crafty include files. The problem is that the data.c file _defines_ global values, data.h references them as extern. But some changes by Mike did not do this in the right file which apparently caused some compiler complaints...
This page took 0.01 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.