Author: Uri Blass
Date: 14:58:21 02/24/03
Go up one level in this thread
On February 24, 2003 at 17:47:50, Dann Corbit wrote: >On February 24, 2003 at 17:37:44, Uri Blass wrote: >[snip] >>Deleting intermediate files and output files for project 'main - Win32 Release'. >>--------------------Configuration: main - Win32 Release-------------------- >>Compiling... >>main.cpp >>evaluate.cpp >>C:\unzipped\movei257source\evaluate.cpp(1279) : warning C4390: ';' : empty >>controlled statement found; is this the intent? >>boardi.cpp >>data.cpp >>Linking... >>xilink6: executing 'C:\PROGRA~1\MICROS~3\VC98\Bin\link.exe' >>main.obj : error LNK2001: unresolved external symbol "int * info" >>(?info@@3QAHA) >>evaluate.obj : error LNK2001: unresolved external symbol "int * info" >>(?info@@3QAHA) >>boardi.obj : error LNK2001: unresolved external symbol "int * info" >>(?info@@3QAHA) > >In which file is the function info() that returns an integer pointer contained? > >Is it correct that it takes no arguments? info is not a function but an array I have extern int * const info; in data.h I have int PADDED_info[80]; int * const info = PADDED_info+8; in data.c I see that I did not include data.h in data.c but it caused me no problem with c files When I changed it I see different problem and movei does not except extern hist_t hist_dat[HIST_STACK]; error C2146: syntax error : missing ';' before identifier 'hist_dat' Uri
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.