On Tue, 07 Apr 2009 12:10:55 +0200, Marcel Smit <ms...@remedy.nl> wrote:
> Hi,
> 
> After all, I succeeded compiling ACE. Thanks !!
> 
> During compilation, I ran into two seperate issues:
> 
> 1. Missing parameter/function:
> 
> I noticed that STACK_SIZE_PARAM_IS_A_RESERVATION wasn't found in CE gcc. 
> Also CeGetThreadPriority and CeSetThreadPriority couldn't be found.
> 
> 2. Declaration of functions in kfuncs.h
> 
> In my code, I'm using ::GetCurrentProcessId (). In kfuncs.h this 
> function is declared as follows:
>    #define GetCurrentProcessId () (....)
> Rewriting this function (and some other ones) to
> 
> DWORD GetCurrentProcessId()
> {
> return ((DWORD)(((HANDLE *)(PUserKData+SYSHANDLE_OFFSET))[SH_CURPROC]));
> }
> 
> solves this compiler error. I've attached my kfuncs.h.
> 
> I'm using arm-wince-mingw32ce and Cygwin 1.5.25-15 on Windows Vista.
> 
> Is it true that these issues may occur om my system. Is there perhaps a 
> solution for these issues? I managed to create some workarounds but I 
> prefer not to.
> 
> Thanks again.
> 
> Marcel Smit.

Hi,

This is something I have already reported some functions should be declared
as inline instead of being ifdef'ed...



------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to