From: Mallikarjun Goudar <mallikarjun.gouda@gmail.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: wide char support and -fshort-wchar option
Date: Thu, 31 Jul 2014 08:31:00 -0000 [thread overview]
Message-ID: <CACz30gAwDGAKJnL8Y4wFgsM1L3mr4-yASTH+jMiqW9G_OdstKw@mail.gmail.com> (raw)
Hi,
I would like to use wchar_t as unsigned short. I used -fshort-wchar
option to make this happen.
But i get following warnings when compile and link a test case.
'libc.a(ansi_files.o) uses 4-byte wchar_t yet the output is to use
2-byte wchar_t; use of wchar_t values across objects may fail"'
To resolve this, i should be rebuilding gcc libraries with -fshort-wchar option?
Please let me know.
Thanks,
Mallikarjuna
next reply other threads:[~2014-07-31 8:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-31 8:31 Mallikarjun Goudar [this message]
2014-08-01 15:34 ` Ian Lance Taylor
2014-08-04 6:23 ` Mallikarjun Goudar
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=CACz30gAwDGAKJnL8Y4wFgsM1L3mr4-yASTH+jMiqW9G_OdstKw@mail.gmail.com \
--to=mallikarjun.gouda@gmail.com \
--cc=gcc-help@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).