NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/56102: libstc++ missing locale_t if _XOPEN_SOURCE defined
The following reply was made to PR toolchain/56102; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: toolchain/56102: libstc++ missing locale_t if _XOPEN_SOURCE
defined
Date: Mon, 12 Apr 2021 02:49:43 +0200
On Mon, Apr 12, 2021 at 12:30:01AM +0000, tobiasu%tmux.org@localhost wrote:
> In pkgsrc this is fixed by removing _XOPEN_SOURCE: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/abseil/patches/patch-absl_time_internal_cctz_src_time__zone__format.cc?rev=1.1&content-type=text/x-cvsweb-markup
>
> But come on guys, that's not a fix. Let me paste you the error message:
Source is definitely wrong. locale_t shouldn't be present for
_XOPEN_SOURCE<700. Now likely should care about it for
_XOPEN_SOURCE=700, but then you can just use _POSIX_C_SOURCE=200809L in
that case...
Joerg
Home |
Main Index |
Thread Index |
Old Index