[Bug gcov-profile/106659] [13 Regression] error: no member named 'fancy_abort' in namespace 'std'; did you mean simply 'fancy_abort'

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 16 22:25:09 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106659

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|regression                  |gcov-profile
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|error: no member named      |[13 Regression] error: no
                   |'fancy_abort' in namespace  |member named 'fancy_abort'
                   |'std'; did you mean simply  |in namespace 'std'; did you
                   |'fancy_abort'               |mean simply 'fancy_abort'
   Target Milestone|---                         |13.0
           Keywords|                            |build
   Last reconfirmed|                            |2022-08-16

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This should fix the issue:
diff --git a/gcc/gcov-dump.cc b/gcc/gcov-dump.cc
index 85b1be8859e..03023bfb226 100644
--- a/gcc/gcov-dump.cc
+++ b/gcc/gcov-dump.cc
@@ -17,6 +17,7 @@ along with Gcov; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */

 #include "config.h"
+#define INCLUDE_VECTOR
 #include "system.h"
 #include "coretypes.h"
 #include "tm.h"
@@ -28,8 +29,6 @@ along with Gcov; see the file COPYING3.  If not see
 #include "gcov-io.h"
 #include "gcov-io.cc"

-#include <vector>
-
 using namespace std;

 static void dump_gcov_file (const char *);


More information about the Gcc-bugs mailing list