blender/intern/utfconv
Phil Christensen 351c409317 C++ conformance fixes (MSVC /permissive-)
We (the Microsoft C++ team) use the Blender project as part of our "Real world code" tests.
I noticed a place in WIN32 specific code (dvpapi.cpp:85) where a string literal is losing
its const-ness when being passed to BLI_dynlib_open().  This is not permitted when using the
/permissive- conformance compiler switch (see our blog
https://blogs.msdn.microsoft.com/vcblog/2016/11/16/permissive-switch/)

My suggested fix is to add const and propagate it where needed.  Another possible fix would be
to explicitly cast away the const.

Reviewers: mont29, sergey, LazyDodo

Subscribers: Blendify, sergey, mont29, LazyDodo

Tags: #platform:_windows

Differential Revision: https://developer.blender.org/D2495
2017-02-06 10:44:56 +01:00
..
CMakeLists.txt fix for UV reveal (wasnt selecting all verts because check for unselected vert was incorrect after selecting the first face). 2012-04-13 03:41:07 +00:00
utf_winfunc.c Fix related to #36319: restore SDL_VIDEODRIVER=dummy environment variable, it 2013-09-23 14:48:28 +00:00
utf_winfunc.h misc minor edits. 2013-03-29 06:25:22 +00:00
utfconv.c Warning cleanup: 2014-03-22 14:41:38 +02:00
utfconv.h C++ conformance fixes (MSVC /permissive-) 2017-02-06 10:44:56 +01:00