https://sourceware.org/bugzilla/show_bug.cgi?id=29365

            Bug ID: 29365
           Summary: [2.29/2.30 Regression] gprofng fails to build on
                    glibc-2.33
           Product: binutils
           Version: 2.39
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gprofng
          Assignee: vladimir.mezentsev at oracle dot com
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with the 2.39 branch 20220713:

In file included from ../../../gprofng/src/../../include/demangle.h:32,
                 from ../../../gprofng/src/CompCom.cc:28:
../../../gprofng/src/../../include/libiberty.h:112:14: error: ambiguating new
declaration of ‘char* basename(const char*)’
  112 | extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL
ATTRIBUTE_NONNULL(1);
      |              ^~~~~~~~
In file included from ../../../gprofng/src/CompCom.cc:23:
/usr/include/string.h:508:26: note: old declaration ‘const char* basename(const
char*)’
  508 | extern "C++" const char *basename (const char *__filename)
      |                          ^~~~~~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to