Bug 4056 - dwarf_whatform.c doesn't compile with gcc 4.3 (svn)
Summary: dwarf_whatform.c doesn't compile with gcc 4.3 (svn)
Status: RESOLVED INVALID
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: frysk-elfutils
  Show dependency treegraph
 
Reported: 2007-02-15 19:12 UTC by Mark Wielaard
Modified: 2017-07-14 09:02 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2007-02-15 19:12:12 UTC
make[5]: Entering directory `/home/mark/src/frysk-obj/frysk-imports/elfutils/libdw'
if gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW -I.
-I../../../../frysk/frysk-imports/elfutils/libdw -I.. -I.
-I../../../../frysk/frysk-imports/elfutils/libdw
-I../../../../frysk/frysk-imports/elfutils/libdw/../libelf -I..
-I../../../../frysk/frysk-imports/elfutils/libdw/../lib    -Wall -Werror
-Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99 -g -O2 -MT dwarf_whatform.o -MD
-MP -MF ".deps/dwarf_whatform.Tpo" -c -o dwarf_whatform.o
../../../../frysk/frysk-imports/elfutils/libdw/dwarf_whatform.c; \
        then mv -f ".deps/dwarf_whatform.Tpo" ".deps/dwarf_whatform.Po"; else rm
-f ".deps/dwarf_whatform.Tpo"; exit 1; fi
../../../../frysk/frysk-imports/elfutils/libdw/dwarf_whatform.c:61: error:
redefinition of ‘dwarf_whatform’
../../../../frysk/frysk-imports/elfutils/libdw/libdw.h:628: error: previous
definition of ‘dwarf_whatform’ was here
make[5]: *** [dwarf_whatform.o] Error 1
Comment 1 Mark Wielaard 2007-02-15 20:11:22 UTC
Just for the record this was with an SVN version of gcc (4.3) which some claim
has broken inline semantics. This hasn't any priority at the moment.

I was only trying this out because I wanted to try the new gcj. But there is a
backport of that available for 4.1 which I will use so as to not be tripped over
any changes in the C and C++ compilers. See
svn+ssh://gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_1-branch-java-merge-20070117
Comment 2 Mark Wielaard 2017-07-14 09:02:44 UTC
It was bad inline semantics in gcc (svn) long since fixed.