Re: [Cegcc-devel] Porting msvc resource code

2011-01-01 Thread Danny Backx
On Sat, 2011-01-01 at 15:21 +0200, Paul Sokolovsky wrote:
> Ok, I see, need to run windres with -D_WIN32_WCE.

Sometimes not just that but with a specific value.

Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Porting msvc resource code

2011-01-01 Thread Paul Sokolovsky
Hello,

On Sat, 1 Jan 2011 15:09:06 +0200
Paul Sokolovsky  wrote:

> Hello,
> 
> Some common error pattern I see while porting msvc code is:
> 
> arm-mingw32ce-windres -i tman.rc -o tman-rc.o
> arm-mingw32ce-windres: tman.rc:20: syntax error
> 
> tman.rc:20:LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
> 
> LANG_ENGLISH, SUBLANG_ENGLISH_US is defined in winnt.h, tman.rc
> includes newres.h which includes commctrl.h, aygshell.h,
> winuser.h. The obvious hypothesis is that in msvc, these headers pull
> in winnt.h, but that's not the case with cegcc. Anybody knows true
> story and the best way to fix it?

Ok, I see, need to run windres with -D_WIN32_WCE.


-- 
Best regards,
 Paul  mailto:pmis...@gmail.com

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


[Cegcc-devel] Porting msvc resource code

2011-01-01 Thread Paul Sokolovsky
Hello,

Some common error pattern I see while porting msvc code is:

arm-mingw32ce-windres -i tman.rc -o tman-rc.o
arm-mingw32ce-windres: tman.rc:20: syntax error

tman.rc:20:LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

LANG_ENGLISH, SUBLANG_ENGLISH_US is defined in winnt.h, tman.rc
includes newres.h which includes commctrl.h, aygshell.h,
winuser.h. The obvious hypothesis is that in msvc, these headers pull
in winnt.h, but that's not the case with cegcc. Anybody knows true
story and the best way to fix it?


-- 
Best regards,
 Paul  mailto:pmis...@gmail.com

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel