public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Neil Booth <neil@daikokuya.co.uk> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: preprocessor/8880: __WCHAR_TYPE__ macro incorrectly set to "long int" with -fshort-wchar Date: Mon, 09 Dec 2002 16:26:00 -0000 [thread overview] Message-ID: <20021210002601.25438.qmail@sources.redhat.com> (raw) The following reply was made to PR preprocessor/8880; it has been noted by GNATS. From: Neil Booth <neil@daikokuya.co.uk> To: cheinan@primus.com Cc: gcc-gnats@gcc.gnu.org Subject: Re: preprocessor/8880: __WCHAR_TYPE__ macro incorrectly set to "long int" with -fshort-wchar Date: Tue, 10 Dec 2002 00:19:37 +0000 cheinan@primus.com wrote:- > The __WCHAR_TYPE__ macro is not set correctly when the -fshort-wchar command line option is specified. In gcc 3.0.3 the macro would be defined to "unsigned short," but in 3.2.1 it remains set to "long int." The wchar_t type itself is correct. > > The compiler also emits the diagnostic: > <command line>:1:1: warning: "__WCHAR_TYPE__" redefined > <command line>:1:1: warning: this is the location of the previous definition > >How-To-Repeat: > liza:~/test> cat empty.cpp > int main() > { > return 0; > } Would you please confirm this issue does not arise in CVS gcc (pre-3.3)? Neil.
next reply other threads:[~2002-12-10 0:26 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-09 16:26 Neil Booth [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-01-01 16:24 neil 2002-12-11 13:16 Neil Booth 2002-12-11 13:11 neil 2002-12-09 12:26 cheinan
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=20021210002601.25438.qmail@sources.redhat.com \ --to=neil@daikokuya.co.uk \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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: linkBe 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).