<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>65983</bug_id>
          
          <creation_ts>2004-09-30 20:44 0000</creation_ts>
          <short_desc>dvdstyler fails to compile with gcc-3.4.2</short_desc>
          <delta_ts>2004-10-05 04:56:09 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>busa.blade@verizon.net</reporter>
          <assigned_to>pkdawson@gentoo.org</assigned_to>
          <cc>agaffney@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>busa.blade@verizon.net</who>
            <bug_when>2004-09-30 20:44:12 0000</bug_when>
            <thetext>dvdstyler failed to compile due to ambiguous overloaded function using gcc-3.4.2

Reproducible: Always
Steps to Reproduce:
1.emerge dvdstyler
2.
3.

Actual Results:  
compilation failed with ambiguous function call on an overloaded function

Expected Results:  
compiled correctly

Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -maccumulate-outgoing-args&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -maccumulate-outgoing-args&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs buildpkg ccache distcc distlocks&quot;
GENTOO_MIRRORS=&quot;http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/&quot;
MAKEOPTS=&quot;-j7&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow X X509 aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr compose
crypt cups dga directfb doc dvd encode esd evo fbcon foomaticdb footmaticdb gdbm
gif gimpprint gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile idea imap imlib
ipv6 java javascript joystick jpeg libg++ libgda libwww live mad matroska mikmod
mmx motif mozilla moznocompose moznoirc moznomail mozxmlterm mpeg ncurses nls
oav objc oggvorbis opengl oss pam pdflib perl pic png ppds pwdb python quicktime
readline rplay samba sasl sdl skey slang spell sse ssl stroke svg svga tcpd
tetex theora threads tiff truetype v4l v4l2 wmf wsconvert x86 xinerama xml xml2
xmms xprint xv xvid zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joem@gentoo.org</who>
            <bug_when>2004-09-30 20:47:27 0000</bug_when>
            <thetext>please post the actual error as well</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>busa.blade@verizon.net</who>
            <bug_when>2004-09-30 20:54:02 0000</bug_when>
            <thetext>the error is as follows:

In file included from dvdstyler.cpp:13:
Config.h: In member function `int Config::GetDefMenuFormat(bool)&apos;:
Config.h:88: error: call of overloaded `Read(const char[24], const int&amp;)&apos; is ambiguous
/usr/include/wx/confbase.h:165: note: candidates are: bool wxConfigBase::Read(const wxString&amp;, wxString*) const
/usr/include/wx/confbase.h:169: note:                 bool wxConfigBase::Read(const wxString&amp;, long int*) const
/usr/include/wx/confbase.h:173: note:                 bool wxConfigBase::Read(const wxString&amp;, int*) const
/usr/include/wx/confbase.h:177: note:                 bool wxConfigBase::Read(const wxString&amp;, double*) const
/usr/include/wx/confbase.h:181: note:                 bool wxConfigBase::Read(const wxString&amp;, bool*) const
/usr/include/wx/confbase.h:188: note:                 wxString wxConfigBase::Read(const wxStrin g&amp;, const wxString&amp;) const
/usr/include/wx/confbase.h:191: note:                 long int wxConfigBase::Read(const wxStrin g&amp;, long int) const
Config.h: In member function `bool Config::GetIsoDo(bool)&apos;:
Config.h:102: error: call of overloaded `Read(const char[7], const bool&amp;)&apos; is ambiguous
/usr/include/wx/confbase.h:165: note: candidates are: bool wxConfigBase::Read(const wxString&amp;, wxString*) const
/usr/include/wx/confbase.h:169: note:                 bool wxConfigBase::Read(const wxString&amp;, long int*) const
/usr/include/wx/confbase.h:173: note:                 bool wxConfigBase::Read(const wxString&amp;, int*) const
/usr/include/wx/confbase.h:177: note:                 bool wxConfigBase::Read(const wxString&amp;, double*) const
/usr/include/wx/confbase.h:181: note:                 bool wxConfigBase::Read(const wxString&amp;, bool*) const
/usr/include/wx/confbase.h:188: note:                 wxString wxConfigBase::Read(const wxStrin g&amp;, const wxString&amp;) const
/usr/include/wx/confbase.h:191: note:                 long int wxConfigBase::Read(const wxStrin g&amp;, long int) const</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2004-10-01 08:52:21 0000</bug_when>
            <thetext>I get the same error when trying to compile dvdstyler-1.05-r1 on my ~x86 system with gcc 3.4.2.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pkdawson@gentoo.org</who>
            <bug_when>2004-10-04 16:59:42 0000</bug_when>
            <thetext>Confirmed and testing my fix.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pkdawson@gentoo.org</who>
            <bug_when>2004-10-04 17:12:45 0000</bug_when>
            <thetext>Fixed. Please test (wait a couple hours, sync, and emerge) and reopen if I broke anything or it still doesn&apos;t work.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2004-10-04 18:50:58 0000</bug_when>
            <thetext>I synced and tried to emerge it again and I now have more errors. The ebuild has a time of about an hour ago, so I know it is the fixed one.

g++ -DPACKAGE=\&quot;\&quot; -DVERSION=\&quot;\&quot;  -I. -I.      -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow  -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -DGNOME2  -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  -DGNOME2 -I.. -c MainWin.cpp
In file included from dvdstyler.cpp:13:
Config.h: In member function `int Config::GetDefMenuFormat(bool)&apos;:
Config.h:92: error: call of overloaded `Read(const char[24], const int&amp;)&apos; is ambiguous
/usr/include/wx/confbase.h:165: note: candidates are: bool wxConfigBase::Read(const wxString&amp;, wxString*) const
/usr/include/wx/confbase.h:169: note:                 bool wxConfigBase::Read(const wxString&amp;, long int*) const
/usr/include/wx/confbase.h:173: note:                 bool wxConfigBase::Read(const wxString&amp;, int*) const
/usr/include/wx/confbase.h:177: note:                 bool wxConfigBase::Read(const wxString&amp;, double*) const
/usr/include/wx/confbase.h:181: note:                 bool wxConfigBase::Read(const wxString&amp;, bool*) const
/usr/include/wx/confbase.h:188: note:                 wxString wxConfigBase::Read(const wxString&amp;, const wxString&amp;) const
/usr/include/wx/confbase.h:191: note:                 long int wxConfigBase::Read(const wxString&amp;, long int) const
Config.h: In member function `bool Config::GetIsoDo(bool)&apos;:
Config.h:106: error: call of overloaded `Read(const char[7], const bool&amp;)&apos; is ambiguous
/usr/include/wx/confbase.h:165: note: candidates are: bool wxConfigBase::Read(const wxString&amp;, wxString*) const
/usr/include/wx/confbase.h:169: note:                 bool wxConfigBase::Read(const wxString&amp;, long int*) const
/usr/include/wx/confbase.h:173: note:                 bool wxConfigBase::Read(const wxString&amp;, int*) const
/usr/include/wx/confbase.h:177: note:                 bool wxConfigBase::Read(const wxString&amp;, double*) const
/usr/include/wx/confbase.h:181: note:                 bool wxConfigBase::Read(const wxString&amp;, bool*) const
/usr/include/wx/confbase.h:188: note:                 wxString wxConfigBase::Read(const wxString&amp;, const wxString&amp;) const
/usr/include/wx/confbase.h:191: note:                 long int wxConfigBase::Read(const wxString&amp;, long int) const
Config.h: In member function `bool Config::GetFormatDo(bool)&apos;:
Config.h:115: error: call of overloaded `Read(const char[14], const bool&amp;)&apos; is ambiguous
/usr/include/wx/confbase.h:165: note: candidates are: bool wxConfigBase::Read(const wxString&amp;, wxString*) const
/usr/include/wx/confbase.h:169: note:                 bool wxConfigBase::Read(const wxString&amp;, long int*) const
/usr/include/wx/confbase.h:173: note:                 bool wxConfigBase::Read(const wxString&amp;, int*) const
/usr/include/wx/confbase.h:177: note:                 bool wxConfigBase::Read(const wxString&amp;, double*) const
/usr/include/wx/confbase.h:181: note:                 bool wxConfigBase::Read(const wxString&amp;, bool*) const
/usr/include/wx/confbase.h:188: note:                 wxString wxConfigBase::Read(const wxString&amp;, const wxString&amp;) const
/usr/include/wx/confbase.h:191: note:                 long int wxConfigBase::Read(const wxString&amp;, long int) const
make[2]: *** [dvdstyler.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from SettingsDlg.h:16,
                 from MainWin.cpp:14:
Config.h: In member function `int Config::GetDefMenuFormat(bool)&apos;:
Config.h:92: error: call of overloaded `Read(const char[24], const int&amp;)&apos; is ambiguous
/usr/include/wx/confbase.h:165: note: candidates are: bool wxConfigBase::Read(const wxString&amp;, wxString*) const
/usr/include/wx/confbase.h:169: note:                 bool wxConfigBase::Read(const wxString&amp;, long int*) const
/usr/include/wx/confbase.h:173: note:                 bool wxConfigBase::Read(const wxString&amp;, int*) const
/usr/include/wx/confbase.h:177: note:                 bool wxConfigBase::Read(const wxString&amp;, double*) const
/usr/include/wx/confbase.h:181: note:                 bool wxConfigBase::Read(const wxString&amp;, bool*) const
/usr/include/wx/confbase.h:188: note:                 wxString wxConfigBase::Read(const wxString&amp;, const wxString&amp;) const
/usr/include/wx/confbase.h:191: note:                 long int wxConfigBase::Read(const wxString&amp;, long int) const
Config.h: In member function `bool Config::GetIsoDo(bool)&apos;:
Config.h:106: error: call of overloaded `Read(const char[7], const bool&amp;)&apos; is ambiguous
/usr/include/wx/confbase.h:165: note: candidates are: bool wxConfigBase::Read(const wxString&amp;, wxString*) const
/usr/include/wx/confbase.h:169: note:                 bool wxConfigBase::Read(const wxString&amp;, long int*) const
/usr/include/wx/confbase.h:173: note:                 bool wxConfigBase::Read(const wxString&amp;, int*) const
/usr/include/wx/confbase.h:177: note:                 bool wxConfigBase::Read(const wxString&amp;, double*) const
/usr/include/wx/confbase.h:181: note:                 bool wxConfigBase::Read(const wxString&amp;, bool*) const
/usr/include/wx/confbase.h:188: note:                 wxString wxConfigBase::Read(const wxString&amp;, const wxString&amp;) const
/usr/include/wx/confbase.h:191: note:                 long int wxConfigBase::Read(const wxString&amp;, long int) const
Config.h: In member function `bool Config::GetFormatDo(bool)&apos;:
Config.h:115: error: call of overloaded `Read(const char[14], const bool&amp;)&apos; is ambiguous
/usr/include/wx/confbase.h:165: note: candidates are: bool wxConfigBase::Read(const wxString&amp;, wxString*) const
/usr/include/wx/confbase.h:169: note:                 bool wxConfigBase::Read(const wxString&amp;, long int*) const
/usr/include/wx/confbase.h:173: note:                 bool wxConfigBase::Read(const wxString&amp;, int*) const
/usr/include/wx/confbase.h:177: note:                 bool wxConfigBase::Read(const wxString&amp;, double*) const
/usr/include/wx/confbase.h:181: note:                 bool wxConfigBase::Read(const wxString&amp;, bool*) const
/usr/include/wx/confbase.h:188: note:                 wxString wxConfigBase::Read(const wxString&amp;, const wxString&amp;) const
/usr/include/wx/confbase.h:191: note:                 long int wxConfigBase::Read(const wxString&amp;, long int) const
make[2]: *** [MainWin.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/dvdstyler-1.06/work/DVDStyler-1.06/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dvdstyler-1.06/work/DVDStyler-1.06/src&apos;
make: *** [all-recursive] Error 1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pkdawson@gentoo.org</who>
            <bug_when>2004-10-05 04:38:13 0000</bug_when>
            <thetext>Odd. It works for me with gcc-3.4.2-r2 on ~x86. Please post your emerge info.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pkdawson@gentoo.org</who>
            <bug_when>2004-10-05 04:41:50 0000</bug_when>
            <thetext>Could you also post the version of wxGTK you&apos;re using? The output of &quot;emerge -pv wxGTK&quot; would be helpful.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2004-10-05 04:56:09 0000</bug_when>
            <thetext>I took a look at my error messages and realized I was building 1.06 (which obviously has the same issue) from my overlay that I had pulled from another bug. I&apos;m building 1.05-r1 again now. If I have problems, I&apos;ll post back.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>