> I'm not sure whether your statement is entirely accurate.
> 
> I just tested two compiles with the attached source, none gave a
> problem :

It gives me:

% ~/cegcc/bin/arm-mingw32ce-gcc -c t.c      
t.c:2:2: warning: #warning __MINGW32__ is defined
t.c:7:2: warning: #warning _WIN32 is defined
t.c:12:2: warning: #warning WIN32 is defined
t.c:17:2: warning: #warning WINNT is defined
t.c:24:2: warning: #warning __MSVCRT__ not defined
t.c:27:2: warning: #warning UNDER_CE is defined
t.c:32:2: warning: #warning UNICODE is defined
In file included from t.c:37:
/home/pynard/cegcc/lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/include/shlobj.h:1271:
 error: expected declaration specifiers or '...' before 'LPSHELLEXECUTEINFOA'

> Inspection of lines around 1271 in shlobj.h reveals that this code
> should not have been compiled, it is in #ifndef UNDER_CE guards. The
> warning messages above tell that it has been defined as it should.

Maybe I'm blind, but I see no UNDER_CE macro in that file.

-- 
Pierre Ynard



      

------------------------------------------------------------------------------
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