- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
why the following code fire warning
unsigned short a = L"";
in v11.0, I can use the multibyte character
unsigned short a = L"";
in v11.0, I can use the multibyte character
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - churunmin
why the following code fire warning
unsigned short a = L"";
in v11.0, I can use the multibyte character
unsigned short a = L"";
in v11.0, I can use the multibyte character
I can reproduce a "warning #26: too many characters in a character constant". Is that the one you are seeing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Brandon Hewitt (Intel)
I can reproduce a "warning #26: too many characters in a character constant". Is that the one you are seeing?
yes, why cannot I use non-ascii character?
gcc has a option "-finput-charset=GBK", it seems icc11.1 does not has one.
is there a way to specify charset for icc11.1?
icc11.0 defaults to system default charset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think this is now solved.
I've got even no error if I use Compiler 11.1 Update 7.
Alex
[bash]icc -V Intel C Intel 64 Compiler XE for applications running on Intel 64, Version 12.0.4.191 Build 20110427 Copyright (C) 1985-2011 Intel Corporation. All rights reserved. cat bug.cpp const wchar_t *a = L""; icc -c bug.cpp[/bash]
I've got even no error if I use Compiler 11.1 Update 7.
Alex
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page