Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113420 - doxygen compile fails under gcc4
Summary: doxygen compile fails under gcc4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-23 19:52 UTC by Robert Marmorstein
Modified: 2005-12-20 19:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch file to make doxygen-1.4.5 compile with gcc-4 (doxygen-1.4.5-gcc4.patch,478 bytes, patch)
2005-11-23 19:53 UTC, Robert Marmorstein
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Marmorstein 2005-11-23 19:52:22 UTC
Although GCC-4 is unsupported software, I would like to provide the following patch that fixed a 
compilation problem I had.  (A missing "this" in the qtools code).

Reproducible: Always
Steps to Reproduce:
1.Install gcc-4.1.0beta
2.Emerge doxygen-1.4.5
3.Watch the compile fail
Actual Results:  
Compilation of qtools/qxml.cpp failed due to a bug in qvaluestack.h.  I solved the problem by 
adding a "this->" in front of the remove statement on line 47.  I will attach a patch once I've filed 
this report.

Expected Results:  
Compiled successfully.

Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-4.1.0-beta20051112, glibc-2.3.6-r1, 2.6.13-
gentoo-r4 i686)
============================================================
=====
System uname: 2.6.13-gentoo-r4 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.0_pre10
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/
3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/
mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/
gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aalib acpi ada aim alsa apache apache2 apm arts artswrappersuid 
audiofile avi bash-completion berkdb bidi bindist bitmap-fonts bonobo browserplugin bzip2 bzlib 
calendar cdr crypt cscope ctype cups curl curlwrappers dba dedicated dga dio directfb divx4linux 
doc dvd dvdr eds emboss encode esd ethereal exif expat fam fastcgi ffmpeg fftw firefox flac flash 
flatfile foomatic foomaticdb fortran freetds ftp gb gcj gd gdbm ggi gif gimpprint glut gmp gnome 
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv icq idn imagemagick imap imlib ipv6 jabber 
jack java jikes jpeg junit kde kdexdeltas ladcca lcms libg++ libwww lua mad mbox mcal mhash 
mikmod mime ming mmap mmx mng motif mozcalendar mozilla mp3 mpeg mysql mysqli nas 
ncurses network nls nocd objc ogg oggvorbis openal opengl oscar oss pam pcntl pcre pda pdflib 
perl php pie plotutils plugin png posix postgres ppds python qt quicktime quotes readline recode 
ruby sasl scanner sdl session shared slang sockets softmmu speex spell spl ssl sysvipc szip tcltk 
tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 videos 
vorbis win32codecs wmf wxwindows xine xinerama xml xml2 xmms xpm xsl xv xvid yahoo zlib 
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Robert Marmorstein 2005-11-23 19:53:26 UTC
Created attachment 73472 [details, diff]
Patch file to make doxygen-1.4.5 compile with gcc-4
Comment 2 Steve Arnold archtester gentoo-dev 2005-12-20 19:32:36 UTC
All versions patched in portage.