Bugs item #2868656, was opened at 2009-09-28 08:34
Message generated for change (Tracker Item Submitted) made by rite
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2868656&group_id=173455

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CeGCC (arm-wince-cegcc)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rob Eggleton (rite)
Assigned to: Nobody/Anonymous (nobody)
Summary: virtual keyword causes exception?

Initial Comment:
Adding "virtual" to a simple method causes the following exception to be raised:

"Program: A.exe
Exception: 0xC00000FD
Address: 00000000"


This happens both on the emulator I'm using (Microsoft DeviceEmulator Manager 
9.0.21022.8) and on the real device (Intel XScale 400Mhz PXA 255).

The code being compiled is:

#include <iostream>


using std::cout;
using std::endl;


class Simple
{
public:
   Simple();
   virtual ~Simple();
};


Simple::Simple()
{
}

Simple::~Simple()
{
}


int
main()
{
   cout << "Strange?" << endl;
}


I'm compiling the code with

arm-wince-cegcc-g++ -o A.exe A.cpp

If I remove "virtual" from the destructor then the code runs without an 
exception. This happens for any method not just the destructor.

arm-wince-cegcc-g++ --version gives:

arm-wince-cegcc-g++ (GCC) 4.1.0
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



Any ideas?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2868656&group_id=173455

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to