Hi All!

I am trying to build this source: Tutorial app, lesson 1
I am using Eclipse Juno combined with GCC for Windows.

I have got the following messages in the console:
Quote:
15:47:08 **** Build of configuration Debug for project FirstProjectA8 ****
make all
Building file: ../HelloA8.cpp
Invoking: Cygwin C++ Compiler
g++ -I"D:\Program Files (x86)\GStudio8\sdk_engine" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"HelloA8.d" -MT"HelloA8.d" -o "HelloA8.o" "../HelloA8.cpp"
../HelloA8.cpp:13:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "acknex.lib")
^
In file included from D:\Program Files (x86)\GStudio8\sdk_engine/adll.h:64:0,
from ../HelloA8.cpp:24:
D:\Program Files (x86)\GStudio8\sdk_engine/afuncs.h:18:22: error: conflicting declaration of C function 'var random(var)'
EXT_var F(random)(var);
^
In file included from /usr/include/ctype.h:4:0,
from /usr/include/w32api/winnt.h:16,
from /usr/include/w32api/minwindef.h:163,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from ../HelloA8.cpp:17:
/usr/include/stdlib.h:234:6: note: previous declaration 'long int random()'
long _EXFUN(random,(_VOID));
^
../HelloA8.cpp: In function 'int WinMain(HINSTANCE, HINSTANCE, LPSTR, int)':
../HelloA8.cpp:43:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
engine_open("arena.wmb");
^
make: *** [subdir.mk:20: HelloA8.o] Error 1

15:47:09 Build Finished (took 1s.45ms)


Could anybody explain why this error occured above?
Quote:
conflicting declaration of C function 'var random(var)'

How can i get rid of that?
Thanks in advance.