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 libstdc++/12451] New: missing(late) class forward declaration in cxxabi.h


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

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

           Summary: missing(late) class forward declaration in cxxabi.h
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org

[forwarded from http://bugs.debian.org/209386]

reported for 3.3.2 CVS 20030909

The class declaration for __class_type_info is missing at line 184 in
cxxabi.h.

Please apply following patch:

=====================================================================
--- /usr/include/c++/3.3/cxxabi.h	2003-08-31 13:36:42.000000000 +0200
+++ cxxabi.h	2003-09-09 19:01:41.000000000 +0200
@@ -175,6 +175,8 @@
                                 unsigned __outer) const;
 };
 
+class __class_type_info;
+
 /* type information for a pointer to member variable */
 class __pointer_to_member_type_info
   : public __pbase_type_info
@@ -201,8 +203,6 @@
                                 unsigned __outer) const;
 };
 
-class __class_type_info;
-
 /* helper class for __vmi_class_type */
 class __base_class_type_info
 {
=====================================================================


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