[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gprofng/29338] New: Declaration conflict for basename
From: |
address@hidden |
Subject: |
[Bug gprofng/29338] New: Declaration conflict for basename |
Date: |
Fri, 08 Jul 2022 12:23:03 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29338
Bug ID: 29338
Summary: Declaration conflict for basename
Product: binutils
Version: 2.39
Status: NEW
Severity: normal
Priority: P2
Component: gprofng
Assignee: vladimir.mezentsev at oracle dot com
Reporter: schwab@linux-m68k.org
Target Milestone: ---
depbase=`echo CompCom.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../binutils/gprofng/src -I.. -U_ASM -DLOCALEDIR=\"/usr/share/locale\"
-DSYSCONFDIR=\"/usr/etc\" -I.. -I../../../binutils/gprofng/src
-I../../../binutils/gprofng/src/../common
-I../../../binutils/gprofng/src/../../include
-I../../../binutils/gprofng/src/../../opcodes -I../../bfd
-I../../../binutils/gprofng/src/../../bfd -Wall -pthread -Wno-switch -O2 -g
-MT CompCom.lo -MD -MP -MF $depbase.Tpo -c -o CompCom.lo
../../../binutils/gprofng/src/CompCom.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../binutils/gprofng/src -I..
-U_ASM -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/usr/etc\" -I..
-I../../../binutils/gprofng/src -I../../../binutils/gprofng/src/../common
-I../../../binutils/gprofng/src/../../include
-I../../../binutils/gprofng/src/../../opcodes -I../../bfd
-I../../../binutils/gprofng/src/../../bfd -Wall -pthread -Wno-switch -O2 -g -MT
CompCom.lo -MD -MP -MF .deps/CompCom.Tpo -c
../../../binutils/gprofng/src/CompCom.cc -fPIC -DPIC -o .libs/CompCom.o
In file included from
../../../binutils/gprofng/src/../../include/demangle.h:32:0,
from ../../../binutils/gprofng/src/CompCom.cc:28:
../../../binutils/gprofng/src/../../include/libiberty.h:112:14: error:
ambiguating new declaration of ‘char* basename(const char*)’
extern char *basename (const char *) ATTRIBUTE_RETURNS_NONNULL
ATTRIBUTE_NONNULL(1);
^~~~~~~~
In file included from ../../../binutils/gprofng/src/CompCom.cc:23:0:
/usr/include/string.h:484:26: note: old declaration ‘const char* basename(const
char*)’
extern "C++" const char *basename (const char *__filename)
^~~~~~~~
make[5]: *** [Makefile:873: CompCom.lo] Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gprofng/29338] New: Declaration conflict for basename,
address@hidden <=
- [Bug gprofng/29338] Declaration conflict for basename, vladimir.mezentsev at oracle dot com, 2022/07/08
- [Bug gprofng/29338] Declaration conflict for basename, vladimir.mezentsev at oracle dot com, 2022/07/12
- [Bug gprofng/29338] Declaration conflict for basename, address@hidden, 2022/07/12
- [Bug gprofng/29338] Declaration conflict for basename, vladimir.mezentsev at oracle dot com, 2022/07/12
- [Bug gprofng/29338] Declaration conflict for basename, address@hidden, 2022/07/13
- [Bug gprofng/29338] Declaration conflict for basename, doko at debian dot org, 2022/07/13
- [Bug gprofng/29338] Declaration conflict for basename, doko at debian dot org, 2022/07/13
- [Bug gprofng/29338] Declaration conflict for basename, doko at debian dot org, 2022/07/13
- [Bug gprofng/29338] Declaration conflict for basename, vladimir.mezentsev at oracle dot com, 2022/07/13
- [Bug gprofng/29338] Declaration conflict for basename, vladimir.mezentsev at oracle dot com, 2022/07/13