Menu

#692 internal compiler error in rest_of_handle_final

closed
gcc (462)
2006-04-27
2004-12-09
Josh Pollak
No

I get this error message while compiling a constructor:

PedestrianDetector.cpp: In constructor
`Cra::mpd::pd::pd(const std::string&)':
pd.cpp:95: internal compiler error: in
rest_of_handle_final, at toplev.c:2064
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.

here is the code:

namespace Cra
{
namespace mpd
{
pd::pd(const std::string& filename)
: data_(0)
{
// Allocate data storage
data_ = new pdData;

// Initialize here
std::cout << filename;
}
}
}

Discussion

  • Luke Dunstan

    Luke Dunstan - 2004-12-10

    Logged In: YES
    user_id=30442

    If you read what you pasted, there is a link to instructions for
    bug reporting at http://www.mingw.org/bugs.shtml. Please
    read it and provide the necessary information, most
    importantly the GCC version.

     
  • Josh Pollak

    Josh Pollak - 2004-12-10

    Logged In: YES
    user_id=84306

    Sorry about that, I wasn't thinking I guess.

    Windows XP
    GCC: gcc version 3.4.1 (mingw special)
    GNU ld version 2.15.91 20040904
    mingw custom rolled from seperate packages
    building with mingw-make
    I don't believe the runtime version or w32api versions are relevant, but
    according to the includes they are 3.5 and 3.1 respectively. Keep in mind
    no WIN32 API was used in this program, it was pure CPP and C.

     
  • Danny Smith

    Danny Smith - 2005-01-31

    Logged In: YES
    user_id=11494

    Your testcase is not self-contained. What is class pd?

    The simplest way to get a self-contained testcase is to
    submit preprocessed code.

    Danny

     
  • Danny Smith

    Danny Smith - 2006-03-27

    Logged In: YES
    user_id=11494

    I suspect this is related to:

    https://sourceforge.net/tracker/?
    group_id=2435&atid=102435&func=detail&aid=1229226

    but in absence of a self-contained testcase, I can only
    guess.

    Danny

     
  • Danny Smith

    Danny Smith - 2006-03-27
    • status: open --> pending
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).