I'm afraid I haven't ported this to the 4.4 toolchain yet. Can you work
with cegcc-0.55 for a little while (or help me do the port) ?

        Danny

On Mon, 2009-09-14 at 13:12 +1000, Colin McCormack wrote:
> Hi,
> 
> Could you please help me with this?  I'm porting some code (tcl8.6) to 
> WinCE using your very good arm-mingw32ce-gcc toolchain.
> 
> I read the exception handling documentation, and edited in the following:
> 
> static int
> DoCopyFile(
>     const TCHAR *nativeSrc,    /* Pathname of file to be copied (native). */
>     const TCHAR *nativeDst)    /* Pathname of file to copy to (native). */
> #ifdef __MINGW32CE__
>     __attribute__((__exception_handler__(DoCopyFileHandler)));
> #endif
> {...}
> 
> I get the following error:
> 
> tclWinFCmd.c:592: warning: '__exception_handler__' attribute directive 
> ignored
> tclWinFCmd.c:594: error: expected identifier or '(' before '{' token
> tclWinFCmd.c:616:1: error: unterminated #ifndef
> 
> under
>  /opt/mingw32ce/bin/arm-mingw32ce-gcc -v
> Using built-in specs.
> Target: arm-mingw32ce
> Configured with: 
> /home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/gcc-4.4.0/configure 
> --with-gcc --with-gnu-ld --with-gnu-as --build=i686-pc-linux-gnu 
> --target=arm-mingw32ce --host=i686-pc-linux-gnu --prefix=/opt/mingw32ce 
> --enable-threads=win32 --disable-nls --enable-languages=c,c++ 
> --disable-win32-registry --disable-multilib --disable-interwork 
> --without-newlib --enable-checking --with-headers --disable-__cxa_atexit
> Thread model: win32
> gcc version 4.4.0 (GCC)
> 
> I'm certainly no Windows or WinCE savant, in fact I'm nearly pure unix 
> in background, so any help or suggestions you might offer are welcome.
> 
> Colin.
> 
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to