bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Simple multi-threading...


From: Christian Anthon
Subject: Re: [Bug-gnubg] Simple multi-threading...
Date: Sat, 6 Jan 2007 01:24:55 +0100

Finaly corecount.c doesn't compile:


corecount.c:2:1: warning: C++ style comments are not allowed in ISO C90
corecount.c:2:1: warning: (this will be reported only once per input file)
corecount.c:81:21: windows.h: No such file or directory
corecount.c: In function `GetLogicalProcssingUnitCount':
corecount.c:106: warning: implicit declaration of function `exit'
corecount.c: In function `GenuineIntel':
corecount.c:313: warning: implicit declaration of function `strcmp'
corecount.c: In function `CPUCount':
corecount.c:577: error: `DWORD' undeclared (first use in this function)
corecount.c:577: error: (Each undeclared identifier is reported only once
corecount.c:577: error: for each function it appears in.)
corecount.c:577: error: syntax error before "dwAffinityMask"
corecount.c:583: error: syntax error before "pPackageMask"
corecount.c:585: error: syntax error before "ProcessorMask"
corecount.c:613: error: syntax error before "dwProcessAffinity"
corecount.c:614: warning: implicit declaration of function
`GetProcessAffinityMask'
corecount.c:614: warning: implicit declaration of function `GetCurrentProcess'
corecount.c:615: error: `dwProcessAffinity' undeclared (first use in
this function)
corecount.c:616: error: `dwSystemAffinity' undeclared (first use in
this function)
corecount.c:634: error: `dwAffinityMask' undeclared (first use in this function)
corecount.c:648: warning: implicit declaration of function
`SetThreadAffinityMask'
corecount.c:648: warning: implicit declaration of function `GetCurrentThread'
corecount.c:650: warning: implicit declaration of function `Sleep'
corecount.c:674: warning: implicit declaration of function `strcat'
corecount.c:699: error: `ProcessorMask' undeclared (first use in this function)
corecount.c:700: error: `pCoreMask' undeclared (first use in this function)
corecount.c:735: error: `pPackageMask' undeclared (first use in this function)
make: *** [corecount.o] Error 1

and my guess is that it is opensource at best and we therefore cannot
include it as part of our sources.

Christian.




reply via email to

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