public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13979] New: no matching function for call with derived class arguments
@ 2004-02-02 14:50 bkramer at ciprico dot com
  2004-02-02 14:51 ` [Bug c++/13979] " bkramer at ciprico dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: bkramer at ciprico dot com @ 2004-02-02 14:50 UTC (permalink / raw)
  To: gcc-bugs

When supplying a derived class as the argument to a function it cannot match the
signature.  This works under 3.2.2.

Reading specs from
/devel/new_compiler/engsrc/tools/linux/lib/gcc-lib/powerpc-wrs-vxworks/3.4.0/specs
Configured with: ../../src/gcc/configure --target=powerpc-wrs-vxworks
--prefix=/devel/gcc-vxworks --enable-languages=c,c++ --enable-thread=vxworks
--with-headers=/devel/Tornado/target/h --with-gnu-ld --with-gnu-as
--enable-altivec --enable-long-long
Thread model: vxworks
gcc version 3.4.0 20040130 (prerelease)
 /devel/new_compiler/engsrc/tools/linux/bin/../libexec/gcc/powerpc-wrs-vxworks/3.4.0/cc1plus -E -quiet -nostdinc -v -I/devel/new_compiler/engsrc/tools/Tornado/target/config/all -I/devel/new_compiler/engsrc/tools/Tornado/target/src/config -I/devel/new_compiler/engsrc/tools/Tornado/target/src/drv -I/devel/new_compiler/engsrc/tools/Tornado/target/h -I/devel/new_compiler/engsrc/tools/Tornado/target/h/c++/3.4.0-O2 -iprefix /devel/new_compiler/engsrc/tools/linux/bin/../lib/gcc/powerpc-wrs-vxworks/3.4.0/ -isystem /devel/new_compiler/engsrc/tools/linux/lib/gcc-lib/include -isystem /devel/new_compiler/engsrc/tools/linux/powerpc-wrs-vxworks/bin/include -DCPU_FAMILY=PPC -D__ppc -D__EABI__ -DCPU=PPC603 -D__hardfp -DVXWORKS -DROM_SIZE=0x00080000 -DRAM_LOW_ADRS=0x00010000 -DRAM_HIGH_ADRS=0x01000000 Test.cpp -mcpu=603 -mstrict-align -mstrict-align -Wall -fno-exceptions -fno-builtin -fno-exceptions -fworking-directory -o Test.ii
ignoring nonexistent directory
"/devel/new_compiler/engsrc/tools/linux/lib/gcc-lib/include"
ignoring nonexistent directory
"/devel/new_compiler/engsrc/tools/linux/powerpc-wrs-vxworks/bin/include"
ignoring nonexistent directory
"/devel/new_compiler/engsrc/tools/Tornado/target/h/c++/3.4.0-O2"
#include "..." search starts here:
#include <...> search starts here:
 /devel/new_compiler/engsrc/tools/Tornado/target/config/all
 /devel/new_compiler/engsrc/tools/Tornado/target/src/config
 /devel/new_compiler/engsrc/tools/Tornado/target/src/drv
 /devel/new_compiler/engsrc/tools/Tornado/target/h
End of search list.
 /devel/new_compiler/engsrc/tools/linux/bin/../libexec/gcc/powerpc-wrs-vxworks/3.4.0/cc1plus -fpreprocessed Test.ii -mcpu=603 -mstrict-align -quiet -dumpbase Test.cpp -mstrict-align -auxbase Test -g -gdwarf-2 -Wall -version -fno-exceptions -fno-builtin -fno-exceptions -o Test.s
GNU C++ version 3.4.0 20040130 (prerelease) (powerpc-wrs-vxworks)
        compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63140
Test.cpp: In function `void test()':
Test.cpp:117: error: no matching function for call to
`SCSI::Dispatcher::dispatch(SCSI::TaskId&, SCSI::TaskType&, SCSI::LunId&,
uint8*&, uint32&, Derived::DTaskData*&, Derived::Adapter&)'
Test.cpp:62: note: candidates are: SCSI::Dispatcher::Return
SCSI::Dispatcher::dispatch(const SCSI::TaskId&, const SCSI::TaskType&, const
SCSI::LunId&, const uint8*, const uint32&, SCSI::TaskData*&, SCSI::Adapter&)

-- 
           Summary: no matching function for call with derived class
                    arguments
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkramer at ciprico dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-wrs-vxworks


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


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <bug-13979-7764@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2009-08-05 13:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-02 14:50 [Bug c++/13979] New: no matching function for call with derived class arguments bkramer at ciprico dot com
2004-02-02 14:51 ` [Bug c++/13979] " bkramer at ciprico dot com
2004-02-02 15:05 ` [Bug c++/13979] [3.3/3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-02-15 12:45 ` gdr at gcc dot gnu dot org
2004-02-15 21:59 ` [Bug c++/13979] Error message about no matching function for call with derived class arguments could be improved mmitchel at gcc dot gnu dot org
2004-08-11 22:16 ` pinskia at gcc dot gnu dot org
2005-03-21 22:17 ` bangerth at dealii dot org
     [not found] <bug-13979-7764@http.gcc.gnu.org/bugzilla/>
2009-08-04 16:02 ` manu at gcc dot gnu dot org
2009-08-04 17:48 ` jwakely dot gcc at gmail dot com
2009-08-04 22:42 ` manu at gcc dot gnu dot org
2009-08-05 10:03 ` jwakely dot gcc at gmail dot com
2009-08-05 13:42 ` jason at redhat dot com

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).