Are C++ exceptions supported on MIPS platform?
- From: "minorguy" <minorguy@xxxxxxxxx>
- Date: Wed, 23 Nov 2005 15:43:12 -0800
I'm using Visual Studio 2005 to build a DLL that will run under Windows CE
5.0 on a MIPS platform. (This DLL already works fine on Windows XP and
Windows CE 5.0 on the CEPC platform.) When I try to build for MIPS, I get
many linker errors like the following:
error LNK2001: unresolved external symbol "const type_info::`vftable'"
(??_7type_info@@6B@)
After searching the newsgroups a bit, I found out that this error can result
if the compiler for the platform does not support RTTI, and therefore doesn't
support C++ exceptions. My code uses exceptions as well as the C++ Standard
Library.
I'd like to confirm that it is indeed the case that exceptions are not
supported when compiling for MIPS. True?
I saw that there was a library released for PocketPC that allows you to use
RTTI. But this is for (I presume) the ARM architecture. Is there something
equivalent for MIPS?
I'm hoping exceptions are not verboten. If they are I'll need to rewrite
parts of the code that uses them. That is not too bad, but I also use the
C++ standard library all over, so this is a worse issue. I found a
preprocessor define called _HAS_EXCEPTIONS which I expected to cause the C++
library to not use exceptions when defined to 0. But I still seem to get the
same errors.
Anyone know about C++ exceptions on MIPS?
Thanks
.
- Follow-Ups:
- Re: Are C++ exceptions supported on MIPS platform?
- From: Steve Maillet \(eMVP\)
- Re: Are C++ exceptions supported on MIPS platform?
- Prev by Date: Re: CeOpenDatabase() function Problem!
- Next by Date: Re: Are C++ exceptions supported on MIPS platform?
- Previous by thread: Re: Starting piped commands in CE?
- Next by thread: Re: Are C++ exceptions supported on MIPS platform?
- Index(es):
Relevant Pages
|