public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Matt Thomas <matt@pilot.local>
To: gcc-gnats@gcc.gnu.org
Subject: libstdc++/7097: _GLIBCPP_HAVE_MBSTATE_T breaks non-GLIB systems
Date: Fri, 21 Jun 2002 08:06:00 -0000	[thread overview]
Message-ID: <200206211449.g5LEnOc01272@pilot.local> (raw)


>Number:         7097
>Category:       libstdc++
>Synopsis:       _GLIBCPP_HAVE_MBSTATE_T breaks non-GLIB systems
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 21 07:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Matt Thomas
>Release:        3.2 20020619 (experimental)
>Organization:
>Environment:
System: NetBSD pilot.local 1.5ZC NetBSD 1.5ZC (PILOT) #59: Sat May 18 12:43:46 PDT 2002 matt@pilot.local:/export/i386/kobj/PILOT i386


	
host: i386-unknown-netbsdelf1.5ZC
build: i386-unknown-netbsdelf1.5ZC
target: vax-dec-netbsdelf
configured with: /export/toolchain/gcc/configure --enable-static --disable-shared --target=vax-netbsdelf
>Description:
	The following change (and its related changes) prevents libstdc++
	from being built on NetBSD since NetBSD does not use GLIBC but does
	define its own mbstate_t.  Thus mbstate_t defined typedefed twice
	and libstdc++ fails to build.

libstdc++-v3/include/c/std_cwchar.h
revision 1.4
date: 2002/06/19 15:19:39;  author: bkoz;  state: Exp;  lines: +21 -0

2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>

        * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
        * include/c/std_cwctype.h: Guard.

        * libsupc++/eh_alloc.cc: Tweak include order.
        * libsupc++/pure.cc: Use cstdio.
        * libsupc++/new_op.cc: Remove malloc forward declaration, as
        cstdlib brings it in. Use std::malloc.

        * src/Makefile.am (sources): Remove cmath.cc.
        * src/Makefile.in: Regenerate.
        * src/cmath.cc: Remove.
----------------------------

>How-To-Repeat:
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2002-06-21 14:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-21  8:06 Matt Thomas [this message]
2002-07-03 10:13 bkoz
2002-07-27 15:01 bkoz

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=200206211449.g5LEnOc01272@pilot.local \
    --to=matt@pilot.local \
    --cc=gcc-gnats@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).