public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17829] New: wrong error: call of  overloaded function is ambiguous
@ 2004-10-04 12:05 micis at gmx dot de
  2004-10-04 12:06 ` [Bug c++/17829] " micis at gmx dot de
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: micis at gmx dot de @ 2004-10-04 12:05 UTC (permalink / raw)
  To: gcc-bugs

With snapshot gcc-4.0-20041003 I get an error (see below):
    "call of overloaded is ambiguous"
while only one function definition is present.
With gcc33, gcc34 and the previous snapshot gcc-4.0-20040926 this program 
compiles without error.

Michael Cieslinski

src.ii: In static member function `static QFontEngine* QFontDatabase::findFont
(QFont::Script, const QFontPrivate*, const QFontDef&, int)':
src.ii:48587: error: call of overloaded `parseFontName(const QString&, 
QString&, QString&)' is ambiguous
src.ii:28700: note: candidates are: static void QFontDatabase::parseFontName
(const QString&, QString&, QString&)
src.ii:48571: note:                 void parseFontName(const QString&, 
QString&, QString&)


g++40 -c -O2 -o out.o src.ii -v
Reading specs from /usr/local/gcc40/lib/gcc/powerpc-unknown-linux-
gnu/4.0.0/specs
Configured with: ../gcc40/configure --prefix=/usr/local/gcc40 --program-
suffix=40 --with-cpu=G5 --enable-altivec --enable-languages=c,c++ --enable-
checking
Thread model: posix
gcc version 4.0.0 20041003 (experimental)
 /usr/local/gcc40/libexec/gcc/powerpc-unknown-linux-gnu/4.0.0/cc1plus -
fpreprocessed src.ii -quiet -dumpbase src.ii -mcpu=G5 -auxbase-strip out.o -O2 -
version -o /tmp/ccd0gsRe.s
GNU C++ version 4.0.0 20041003 (experimental) (powerpc-unknown-linux-gnu)
        compiled by GNU C version 4.0.0 20041003 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
 as -mpower4 -maltivec -many -V -Qy -o out.o /tmp/ccd0gsRe.s
GNU assembler version 2.15.90 (ppc-redhat-linux) using BFD version 2.15.90 
20040225

-- 
           Summary: wrong error: call of  overloaded function is ambiguous
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: micis at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux-gnu
  GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17829


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2004-10-09 14:38 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-04 12:05 [Bug c++/17829] New: wrong error: call of overloaded function is ambiguous micis at gmx dot de
2004-10-04 12:06 ` [Bug c++/17829] " micis at gmx dot de
2004-10-04 12:35 ` pinskia at gcc dot gnu dot org
2004-10-04 12:36 ` pinskia at gcc dot gnu dot org
2004-10-04 12:39 ` [Bug c++/17829] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-04 12:43 ` pinskia at gcc dot gnu dot org
2004-10-04 12:44 ` nathan at gcc dot gnu dot org
2004-10-04 12:46 ` pinskia at gcc dot gnu dot org
2004-10-04 15:12 ` nathan at gcc dot gnu dot org
2004-10-04 17:11 ` bangerth at dealii dot org
2004-10-05  1:17 ` giovannibajo at libero dot it
2004-10-05  9:38 ` nathan at gcc dot gnu dot org
2004-10-05 13:05 ` bangerth at dealii dot org
2004-10-05 16:05 ` nathan at gcc dot gnu dot org
2004-10-05 16:08 ` cvs-commit at gcc dot gnu dot org
2004-10-06 15:26 ` [Bug c++/17829] [3.4 " nathan at gcc dot gnu dot org
2004-10-07 10:52 ` jakub at gcc dot gnu dot org
2004-10-08 15:20 ` cvs-commit at gcc dot gnu dot org
2004-10-08 17:43 ` giovannibajo at libero dot it
2004-10-09 14:38 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).