Author: Dann Corbit
Date: 14:45:37 02/14/00
Go up one level in this thread
On February 14, 2000 at 17:37:44, Pete Galati wrote: >On February 14, 2000 at 17:00:52, Dann Corbit wrote: > >>I compile this: >>/* >>** This strange little beastie has only one purpose: >>** To allow the compiler to inline like a madman. >>*/ >>#include "search.c" >>#include "board.c" >>#include "data.c" >>#include "eval.c" >>#include "main.c" > >Are you making a new .c file containing only those #includes and then just >compiling that? What I had tried before with TSCP was to #include everything in >main.c and compile _that_, but in order to make that work, I needed to throw out >all the #includes for the header files in the .c files other than main.c, so >everything was included from there. Hence, one reason to make things idempotent. It also makes compiles go a wee bit faster if you include a header more than once for some reason.
This page took 0 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.