public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/13979] [3.3/3.4/3.5 Regression] no matching function for call with derived class arguments
Date: Mon, 02 Feb 2004 15:05:00 -0000	[thread overview]
Message-ID: <20040202150540.6646.qmail@sources.redhat.com> (raw)
In-Reply-To: <20040202145010.13979.bkramer@ciprico.com>


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-02 15:05 -------
The code is invalid by two things, the first is that  Derived::Adapter does not  Derived from 
SCSI::Adapter and that you cannot pass a  Derived::DTaskData* in a SCSI::TaskData*&, it needs a 
temparay variable, yes the error message is misleading.
The error message is a regression from 2.95.3:
pr13979.cc: In function `void test()':
pr13979.cc:117: initializing non-const `SCSI::TaskData *&' with `Derived::DTaskData *' will use a 
temporary
pr13979.cc:61: in passing argument 6 of `SCSI::Dispatcher::dispatch(const TaskId &, const SCSI::
TaskType &, const LunId &, const uint8 *, const uint32 &, SCSI::TaskData *&, SCSI::Adapter &)'

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
      Known to work|                            |2.95.3
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-02 15:05:37
               date|                            |
            Summary|no matching function for    |[3.3/3.4/3.5 Regression] no
                   |call with derived class     |matching function for call
                   |arguments                   |with derived class arguments
   Target Milestone|---                         |3.3.3


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


  parent reply	other threads:[~2004-02-02 15:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-02 14:50 [Bug c++/13979] New: " bkramer at ciprico dot com
2004-02-02 14:51 ` [Bug c++/13979] " bkramer at ciprico dot com
2004-02-02 15:05 ` pinskia at gcc dot gnu dot org [this message]
2004-02-15 12:45 ` [Bug c++/13979] [3.3/3.4/3.5 Regression] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040202150540.6646.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).