From: Jonathan Wakely <jwakely@redhat.com>
To: Martin Sebor <msebor@gmail.com>
Cc: libstdc++ <libstdc++@gcc.gnu.org>, gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [patch] libstdc++/67173 Fix filesystem::canonical for Solaris 10.
Date: Wed, 16 Sep 2015 16:11:00 -0000 [thread overview]
Message-ID: <20150916160532.GA2631@redhat.com> (raw)
In-Reply-To: <20150916160221.GZ2631@redhat.com>
On 16/09/15 17:02 +0100, Jonathan Wakely wrote:
>I don't know how to use _XOPEN_VERSION or _POSIX_VERSION to check for
>a suitable realpath without defining one of those feature-test macros,
>which then breaks other things.
I suppose we could also define _NETBSD_SOURCE manually, which is
basically what we do on GNU/Linux. G++ predefines _GNU_SOURCE so that
glibc gives us all declarations, but I want to move away from that and
stop polluting the global namespace with every GNU extension.
Maybe defining _NETBSD_SOURCE for versions older than 7.x is the right
solution though.
next prev parent reply other threads:[~2015-09-16 16:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-11 14:23 Jonathan Wakely
2015-09-11 18:05 ` Martin Sebor
2015-09-12 10:39 ` Jonathan Wakely
2015-09-12 19:49 ` Martin Sebor
2015-09-12 22:00 ` Martin Sebor
2015-09-16 14:52 ` Jonathan Wakely
2015-09-16 16:05 ` Jonathan Wakely
2015-09-16 16:11 ` Jonathan Wakely [this message]
2015-09-16 17:38 ` Martin Sebor
2015-09-16 19:02 ` Jonathan Wakely
2015-09-16 22:17 ` Martin Sebor
2015-09-16 22:23 ` Jonathan Wakely
2015-09-16 23:51 ` Martin Sebor
2015-09-17 11:31 ` Jonathan Wakely
2015-09-17 11:33 ` Jonathan Wakely
2015-09-17 14:38 ` Jonathan Wakely
2015-09-17 15:40 ` Martin Sebor
2015-09-23 12:14 ` Jonathan Wakely
2015-09-16 23:42 ` Jonathan Wakely
2015-09-17 15:36 ` Jonathan Wakely
2015-09-17 19:27 ` Andreas Schwab
2015-09-17 22:23 ` Jonathan Wakely
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=20150916160532.GA2631@redhat.com \
--to=jwakely@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=libstdc++@gcc.gnu.org \
--cc=msebor@gmail.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).