Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: VS2015 |
| Date | 2015-06-17 11:05 -0700 |
| Organization | None to speak of |
| Message-ID | <lnwpz2jjll.fsf@nuthaus.mib.org> (permalink) |
| References | <f7d2d395-4619-418b-8bdb-a38c322321eb@googlegroups.com> <mvb3oal715qbbo0vfccpjjt391soglm01s@4ax.com> |
Barry Schwarz <schwarzb@dqel.com> writes:
> On Wed, 17 Jun 2015 09:50:57 -0700 (PDT), esamiira@gmail.com wrote:
>>Microsoft Visual Studio Community 2015 RC
>> Version 14.0.22823.1 D14REL
>> Microsoft .NET Framework
>> Version 4.6.00057
>>
>>Installed Version: Community
>>
>>
>>Windows 8.1
>>
>>
>>When compiling with VS2013 I don't get an warning, but with VS2015 I get this warning.
>>
>>>c:\program files (x86)\microsoft visual studio 14.0\vc\include\xlocale(654): warning C4302: 'type cast': truncation from 'const wchar_t *' to 'unsigned char'
>>1> c:\program files (x86)\microsoft visual studio 14.0\vc\include\xlocale(2322): note: see reference to function template instantiation 'char std::_Maklocbyte<_Elem>(_Elem,const std::_Locinfo::_Cvtvec &)' being compiled
>>
>>Now, I know what the problem is, VS2015 is very clear about it, but how can I trace the fault. Where in -my code- did I go wrong?
>
> Since C does not have templates, you might start by asking in a group
> related to the language you are using.
And when you post in a C++ group, be sure to show them the code that
causes the error.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
VS2015 esamiira@gmail.com - 2015-06-17 09:50 -0700
Re: VS2015 Barry Schwarz <schwarzb@dqel.com> - 2015-06-17 10:36 -0700
Re: VS2015 Keith Thompson <kst-u@mib.org> - 2015-06-17 11:05 -0700
Re: VS2015 James Kuyper <jameskuyper@verizon.net> - 2015-06-17 14:34 -0400
Re: VS2015 Melzzzzz <mel@zzzzz.com> - 2015-06-17 20:44 +0200
Re: VS2015 "Charles Richmond" <numerist@aquaporin4.com> - 2015-06-17 16:18 -0500
Re: VS2015 jacobnavia <jacob@jacob.remcomp.fr> - 2015-06-19 08:12 +0200
Re: VS2015 Paul N <gw7rib@aol.com> - 2015-06-19 07:39 -0700
Re: VS2015 jacobnavia <jacob@jacob.remcomp.fr> - 2015-06-19 17:59 +0200
Re: VS2015 raltbos@xs4all.nl (Richard Bos) - 2015-06-20 09:16 +0000
Re: VS2015 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-17 19:07 +0100
csiph-web