The following code crashes CeGCC (0.51.0) (mingw32ce version):
#include <sstream>
class __declspec(dllimport) StreamChild : public std::ostringstream
{
public:
StreamChild() {};
virtual ~StreamChild() {};
};
int main() {
return 0;
}
Compile command and output are:
arm-wince-mingw32ce-g++ -I"C:\Documents and Settings\thla2589\My Documents\Projects\crash-gcc\src" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/crash-gcc.d" -MT"src/crash-gcc.d" -o"src/crash-gcc.o" "../src/crash-gcc.cpp"
../src/crash-gcc.cpp:11: internal compiler error: in maybe_emit_vtables, at cp/decl2.c:1548
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Am I doing something wrong here, or is it really a bug in GCC?
Thanks,
Halva
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel