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

Sep 18, 2014 at 11:55 AM
follow this example,
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 6:41 PM
dealing with the same problem.
has anyone recommendations?
Nov 26, 2014 at 6: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.

Nov 27, 2014 at 2: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! :-)

Dec 3, 2014 at 6:33 AM
hi guys,

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