public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mark Schaefer <mschaefer@dsai.com>
To: egcs@cygnus.com
Subject: Before you release 1.0.3 -- please!
Date: Tue, 28 Apr 1998 21:59:00 -0000	[thread overview]
Message-ID: <98Apr28.171852mdt.26882@colorado.dsai.com> (raw)

    ECGS developers,

    Before you send the next release out the door, could someone figure
out what you're going to do about the NULL problem.  Basically, it's a
damned if I do, damned if I don't problem.

    Since you use __null, which is a "magic pointer entity" that can
supposedly point to anything.  I've discovered that it's not very good
at pointing to, say, class member functions.

A test case is attached.  This one I actually verified to have the
error.

test1.C
[schaefer@liz]$ gcc -o test1 test1.C
test1.C: In function `int main(int, char **)':
test1.C:18: cannot convert `0' from type `{unknown type} *' to type
`void (UiCallbackHandler::*)(int, int, int)'

test2.C
[schaefer@liz]$ gcc -o test2 test2.C
test2.C: In function `int main(int, char **)':
test2.C:18: no matching function for call to
`UiCallbackHandler::addCallback (int, int, const int &, int)'
test2.C:11: candidates are: UiCallbackHandler::addCallback(int, int,
void (UiCallbackHandler::*)(int, int, int), int)

Note: (after switching the include to <sys/types.h>, both examples
compile on the SGI 7.2 compiler).
They should compile on any ANSI C++ standard (or nearly standard)
compiler.

Please, oh please figure out something to do with this!

--
Mark Schaefer


             reply	other threads:[~1998-04-28 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-28 21:59 Mark Schaefer [this message]
1998-04-30 20:03 ` Joe Buck

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=98Apr28.171852mdt.26882@colorado.dsai.com \
    --to=mschaefer@dsai.com \
    --cc=egcs@cygnus.com \
    /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).