RE: [Boost-users] Building Regex++ lib on Pocket PC using EmbeddedVC++4.0
Reuti@sdc.canon.co.in
Has anyone tried building regex++ lib for PPC using EVC++? I can build it using VC++6.0 using the .mak files supplied with it.But I am getting errors and warnings. Error is regarding the use of typename keyword in lib source and warning is about C++ Exceptions unwinding capability.
I replaced C++ try, catch by Win32 __try , __except
That isn't going to help you. While the Win32 exceptions will be caught and thrown there will be no unwinding of the stack, i.e. destructors for automatic variables will *not* be called. So the code will not work correctly in case of an exception. The approach I've seen is to call abort() instead of throwing, which is probably not a very good one.
but don't know what to do with template error?
Can anybody help in this? Also can it be confirmed that its possible to port it on Win CE?
Not with EVC++. I'm afraid it's something of a waste of time to try to compile standard C++ code with it. There has been some work to port GNU C++ to WinCE but it is incomplete and so far as I know only covers SH3 and MIPS whereas the most popular architecture for WinCE now seems to be ARM.
I thought I read that VS7.1 will target windows ce platforms?
-----------------
Jeff Flinn
Applied Dynamics, International
"Ben Hutchings"
Reuti@sdc.canon.co.in
wrote: Has anyone tried building regex++ lib for PPC using EVC++? I can build it using VC++6.0 using the .mak files supplied with it.But I am getting errors and warnings. Error is regarding the use of typename keyword in lib source and warning is about C++ Exceptions unwinding capability.
I replaced C++ try, catch by Win32 __try , __except
That isn't going to help you. While the Win32 exceptions will be caught and thrown there will be no unwinding of the stack, i.e. destructors for automatic variables will *not* be called. So the code will not work correctly in case of an exception.
The approach I've seen is to call abort() instead of throwing, which is probably not a very good one.
but don't know what to do with template error?
Can anybody help in this? Also can it be confirmed that its possible to port it on Win CE?
Not with EVC++. I'm afraid it's something of a waste of time to try to compile standard C++ code with it.
There has been some work to port GNU C++ to WinCE but it is incomplete and so far as I know only covers SH3 and MIPS whereas the most popular architecture for WinCE now seems to be ARM.
It only supports the development of .Net based apps. On Thu, Nov 13, 2003 at 08:13:09AM -0500, Jeff Flinn wrote:
I thought I read that VS7.1 will target windows ce platforms?
----------------- Jeff Flinn Applied Dynamics, International
"Ben Hutchings"
wrote in message news:A7F746377BDB7D4EA8E6623AF92F43C80C7CCE@copper.bwsint.com... Reuti@sdc.canon.co.in
wrote: Has anyone tried building regex++ lib for PPC using EVC++? I can build it using VC++6.0 using the .mak files supplied with it.But I am getting errors and warnings. Error is regarding the use of typename keyword in lib source and warning is about C++ Exceptions unwinding capability.
I replaced C++ try, catch by Win32 __try , __except
That isn't going to help you. While the Win32 exceptions will be caught and thrown there will be no unwinding of the stack, i.e. destructors for automatic variables will *not* be called. So the code will not work correctly in case of an exception.
The approach I've seen is to call abort() instead of throwing, which is probably not a very good one.
but don't know what to do with template error?
Can anybody help in this? Also can it be confirmed that its possible to port it on Win CE?
Not with EVC++. I'm afraid it's something of a waste of time to try to compile standard C++ code with it.
There has been some work to port GNU C++ to WinCE but it is incomplete and so far as I know only covers SH3 and MIPS whereas the most popular architecture for WinCE now seems to be ARM.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Pavol Droba wrote:
It only supports the development of .Net based apps.
That is not true of VC++ 7.1. On can create standard Windows modules with it, and it continues to support MFC.
On Thu, Nov 13, 2003 at 08:13:09AM -0500, Jeff Flinn wrote:
I thought I read that VS7.1 will target windows ce platforms?
On Thu, Nov 13, 2003 at 06:44:45PM -0500, Edward Diener wrote:
Pavol Droba wrote:
It only supports the development of .Net based apps.
That is not true of VC++ 7.1. On can create standard Windows modules with it, and it continues to support MFC.
Sure, but AFAIK not for CE platform.
On Thu, Nov 13, 2003 at 08:13:09AM -0500, Jeff Flinn wrote:
I thought I read that VS7.1 will target windows ce platforms?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
I thought I read that VS7.1 will target windows ce platforms?
Unfortunately while Visual Studio will target CE in Visual Basic or C#, it's not supported in C++ in this release (but will be in the next one I believe). John.
participants (5)
-
Ben Hutchings
-
Edward Diener
-
Jeff Flinn
-
John Maddock
-
Pavol Droba