This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11642] Segment violation when compiling


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11642


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code
         Resolution|                            |FIXED


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-23 13:19 -------
In 3.3.1 (20030707), I get an ICE after an error:
pr11642.cc:12038: error: ISO C++ forbids defining types within return type
pr11642.cc:12038: error: `int (ToolSysInfo::)() const' is not an aggregate type
pr11642.cc:12038: error: semicolon missing after declaration of `class 
   TouchListViewItem'
pr11642.cc: In function `int DriveDialog(QWidget*, QString, Drives*)':
pr11642.cc:12038: error: only constructors take base initializers
pr11642.cc:12039: confused by earlier errors, bailing out
In the mainline (20030719), I just get an error:
pr11642.cc:12038: error: return type specification for constructor invalid
pr11642.cc: In constructor `DriveDialog::DriveDialog(QWidget*, QString, 
   Drives*)':
pr11642.cc:12029: error: `TouchListViewItem::TouchListViewItem(QListView*, 
   QString, QString, QString, QString)' is private
pr11642.cc:12058: error: within this context
pr11642.cc:12029: error: `TouchListViewItem::TouchListViewItem(QListView*, 
   QString, QString, QString, QString)' is private
pr11642.cc:12059: error: within this context
pr11642.cc:12029: error: `TouchListViewItem::TouchListViewItem(QListView*, 
   QString, QString, QString, QString)' is private
pr11642.cc:12060: error: within this context
So I am closing this as fixed as we are not going to fix an ICE after a sensible error for 
3.3.1 or 3.3.x.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]