Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #63445

Re: VS2015

From Richard Heathfield <rjh@cpax.org.uk>
Newsgroups comp.lang.c
Subject Re: VS2015
Date 2015-06-17 19:07 +0100
Organization go, ion artisan!
Message-ID <mlscv4$r05$1@dont-email.me> (permalink)
References <f7d2d395-4619-418b-8bdb-a38c322321eb@googlegroups.com>

Show all headers | View raw


On 17/06/15 17:50, esamiira@gmail.com wrote:

<snip>

> 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?

You have the source code. We don't. So you have us at a disadvantage.

If you're programming in C (and, judging from what you've written so 
far, that seems rather unlikely), why not post the source code that's 
causing problems and let us take a look?

If you're programming in some other language (C++, C#, .Net, or whatever 
it is), you might want to try finding a newsgroup that's a closer match 
to your language choice).

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


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