This is a debug build so optimizations are turned off. I'd can't change 
the constructor for the Contact class since it's being created by the 
Sybase Ultralite generator, although I could subclass if that makes any 
difference.

I've already thought of several ways to "work around" this bug, but I'd 
rather not have to since I have other code that uses similar methods 
and that would require making several architectural changes to our 
design. I've played around with changing the order of initializing the 
classes but that didn't seem to do anything. I was even willing to make 
the CDatabase object a global by declaring:

CDatabase tempDB;

at the beginning of my CPP file, but that resulted in the internal 
compiler error too.

Unless there are any ideas for "quick" changes that might work, I'll 
begin reworking the code. I've already spent a considerable amount of 
time on this and even got to the point of changing variable names in 
the hopes that some magic variable name would fix things.

Again, thanks for the assistance.
-Mark


On Wednesday, October 9, 2002, at 09:57 PM, Ben Combee wrote:

> At 21:38 2002-10-9 -0400, you wrote:
>> On Wednesday, October 9, 2002, at 08:52 PM, Ben Combee wrote:
>>
>>> 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.
>>
>> Is this an error that would run across all Codewarrior for Palm OS v8 
>> compilers or is it just limited to the Mac? I guess the bottom line 
>> is can I take my project over to Windows or will the internal error 
>> be present there as well?
>
> It is hard to tell... I'd say it very likely this would reproduce on 
> Win32; most ICEs are reproducible given the same source.  What 
> optimization level are you using for your project?  Could you alter 
> the constructor for your Contact class -- maybe make it non-inline, 
> since it seems somehow linked to constructing a Contact object 
> followed by another constructor.
>
> -- 
> 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/
>
>

Mark F Rodriguez
----------------------------------------
xAplos, Inc.
http://www.xaplos.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to