public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
To: hjl@lucon.org (H.J. Lu)
Cc: egcs@cygnus.com, libc-linux@gnu.org (GNU C Library)
Subject: Re: A glibc or egcs bug?
Date: Sat, 06 Dec 1997 20:21:00 -0000	[thread overview]
Message-ID: <x7oh2tdbsa.fsf@myware.rz.uni-karlsruhe.de> (raw)
In-Reply-To: <m0xeXHc-0004ecC@ocean.lucon.org>

hjl@lucon.org (H.J. Lu) writes:

> This is from glibc 2.1:
> 
> # gcc -v
> Reading specs from
> /usr/lib/gcc-lib/i586-unknown-linux-gnulibc1/egcs-2.90.20/specs
> gcc version egcs-2.90.20 971201 (gcc2-970802 experimental)
> # gcc -S w.cc
> w.cc: In function `int foo()':
> w.cc:48: no matching function for call to `__WAIT_STATUS::._2 (int *)'
> w.cc:38: candidates are: __WAIT_STATUS::._2(const {anonymous union} &)
> w.cc:38:                 __WAIT_STATUS::._2()

I've changed glibc earlier this week to not use transparent unions for C++.
This is unfortunate since the avoiding casts is always good but maybe it's
too difficult to change the C++ lookup handling.  Jason?

-- Uli
---------------.      drepper at gnu.org  ,-.   Rubensstrasse 5
Ulrich Drepper  \    ,-------------------'   \  76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

  reply	other threads:[~1997-12-06 20:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-06 19:21 H.J. Lu
1997-12-06 20:21 ` Ulrich Drepper [this message]
1997-12-06 23:47   ` H.J. Lu
1997-12-07  8:56 ` Neal Becker
1997-12-07  9:34   ` Ulrich Drepper
1997-12-07 13:04   ` Roland McGrath

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=x7oh2tdbsa.fsf@myware.rz.uni-karlsruhe.de \
    --to=drepper@ipd.info.uni-karlsruhe.de \
    --cc=egcs@cygnus.com \
    --cc=hjl@lucon.org \
    --cc=libc-linux@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).