Boost Users :
From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2003-11-13 07:24:25
Reuti_at_[hidden] <Reuti_at_[hidden]> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net