On Mon, 07 Jul 2008, Marek Paliwoda wrote:

Hi Marek,

> I attempted to compile Harbour for WinCE platform using 
> make_xmingwce.sh script and cegcc 0.51. I got following 
> errors :
> ../../hbwince.c:652: error: 'LPVOID' redeclared as different kind of symbol
> /opt/mingw32ce/lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-mingw32ce/include/winnt.h:88:
>  error: previous declaration of 'LPVOID' was here
> ../../hbwince.c:664: error: 'HLOCAL' redeclared as different kind of symbol
> /opt/mingw32ce/lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-mingw32ce/include/windef.h:278:
>  error: previous declaration of 'HLOCAL' was here
> Unfortunately I completly am not able to see what's wrong 
> with the code.

Strange, Looks that it interacts with some new MinGWCE declarations.
It will be necessary to look at it closer.

> I would like to change a fragment of make xmingwce.sh 
[...]
> because I do not like the current way of setting
> HB_COMP_PATH and HB_PPGEN_PATH. They are in fact
> hardcoded. Any objections ?
> Also hardcoding CCPREFIX is plainly wrong because a new 
> cegcc has changed its base name from arm-wince-mingw32ce
> to arm-mingw32ce. I'd like to change it from 
>     export CCPREFIX="arm-wince-mingw32ce-"
> to
>     [ -z "$CCPREFIX" ] && export CCPREFIX="arm-wince-mingw32ce-"
> What do you think ?

Both are OK for me though for CCPREFIX I would add small autodetection
so version 0.50 and 0.51 will work without user interactions. Simple
test for -d <dirname> or -x <executablename> should be enough.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to