about set "Treat WChar_t AS Built in Type" to "No"

Sep 18, 2014 at 10:55 AM
follow this example,
http://katyscode.wordpress.com/2014/04/01/how-to-statically-link-the-c-rest-sdk-casablanca/
i want to use a static lib in my project.
And for some reason, i need to build it with setting "Treat WChar_t AS Built in Type" to "No".
but when i set it to "No", the build failed.
error C2766: explicit specialization; 'Concurrency::streams::_type_parser_integral_traits<utf16char>' has already been defined
does anyone know what should i do to avoid this?
Nov 26, 2014 at 5:41 PM
dealing with the same problem.
has anyone recommendations?
Coordinator
Nov 26, 2014 at 5:52 PM
Hi pontyr and chaoso,

Why do you want not want to treat wchar_t as a built in type? It is part of the C++ standard and we use it in the library. I don't think you will be able to use the C++ Rest SDK turning this off.

Steve
Nov 27, 2014 at 1:24 PM
Hi stevegates,
meanwhile I go the hard way and change our tons of projects to wchar_t as built in type. Hope that afterwards I will be able to build without errors.
Thanks for your quick reply! :-)

rainer
Dec 3, 2014 at 5:33 AM
hi guys,

In my situation, I rebuild all other projects and libs to "built in type", and yeah it's really massive...