From: Ken Brown <kbrown@cornell.edu>
To: cygwin <cygwin@cygwin.com>
Subject: c++0x and locale_t
Date: Sat, 01 Oct 2016 14:58:00 -0000 [thread overview]
Message-ID: <af127659-63ef-96ba-60f9-3bf17f70e6c1@cornell.edu> (raw)
I'm having an issue building icu, which boils down to the following test
case:
$ cat foo.cc
#include <locale.h>
locale_t foo;
$ g++ -c --std=c++0x foo.cc
foo.cc:2:1: error: âlocale_tâ does not name a type
locale_t foo;
^
If I remove '--std=c++0x', the error goes away. I know nothing about
C++ standards, so I don't know if this is expected behavior or if it
indicates a bug in Cygwin's headers.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2016-10-01 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-01 14:58 Ken Brown [this message]
2016-10-01 15:52 ` Brian Inglis
2016-10-02 17:59 ` Ken Brown
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=af127659-63ef-96ba-60f9-3bf17f70e6c1@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cygwin@cygwin.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).