At 20:53 2002-10-9 -0400, you wrote:
>I've got a fairly large C++ application in Codewarrior that uses the POL
>framework. Things were working fine until I added a Init method to one of
>my custom classes that does something like:
>
>void CMyClass::Init()
>{
> // create instances for helper classes
> m_contactPtr = new Contact();
> m_contactPDBPtr = new CDatabase;
>
> // now open connection with databases
> // to do - add code to check for failure
> /*
> if (m_contactPDBPtr->Create(0, "Contact", 'pol ', 'data') == 0)
> {
> // we are creating the new database
> }
> else
> {
> // the database already exists
> m_contactPDBPtr->Open(0, "Contact");
> }
>}
>
>
>When I compile using Codewarrior for Palm OS v8, I get the following error
>message:
>Error : internal compiler error: File: 'PCode.c' Line: 3836
>CMyClass.cpp line 40 }
ICE errors indicate that the compiler detected an internal inconsistency
and stopped, rather than continue and crash or generate bad code. The
compiler was updated twice from V6 to V8, mostly with new C++ front-end
code. This is a serious compiler problem, and you should file a bug on
this with Metrowerks.
We did recently get a report from our beta testing list of something
similar, but there is no guarantee that it is the same bug, so a full
report sent to [EMAIL PROTECTED] would be greatly appreciated.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/