Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 21:31:17 -0700 (PDT)
From:      yakisoba@f2.dion.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/27606: stddef.h has wrong defines. 'mbstate_t' and so on.
Message-ID:  <200105240431.f4O4VHQ01650@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         27606
>Category:       misc
>Synopsis:       stddef.h has wrong defines. 'mbstate_t' and so on.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 23 21:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Naohiko Tsuji
>Release:        FreeBSD 4.3-STABLE
>Organization:
>Environment:
>Description:
The <stddef.h> header defines 'wchar_t'.
The <wchar.h> header defines 'mbstate_t' and 'wint_t'.

SUSV2
>How-To-Repeat:
 libstdc++-v3 cat not compiled.
 FreeBSD 4.3-STABLE don't have <wchar.h>. libstdc++-v3 defines
'mbstate_t' in <bits/std_cwchar.h>. This is conflict with <stddef.h>.

>Fix:
 <stddef.h> -> wchar_t (RELENG_4 and CURRENT)
 <wchar.h>  -> mbstate_t wint_t (CURRENT)
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105240431.f4O4VHQ01650>