summaryrefslogtreecommitdiff
path: root/projects/vstudio/WARNING
diff options
context:
space:
mode:
Diffstat (limited to 'projects/vstudio/WARNING')
-rw-r--r--projects/vstudio/WARNING22
1 files changed, 13 insertions, 9 deletions
diff --git a/projects/vstudio/WARNING b/projects/vstudio/WARNING
index 16968138d..da002c937 100644
--- a/projects/vstudio/WARNING
+++ b/projects/vstudio/WARNING
@@ -1,23 +1,27 @@
WARNING
=======
-Libpng 1.5 erroneously uses /MD when building debug DLL versions of libpng.
-It should use /MDd - you can change this under properties\C/C++\Code
-Generation\Runtime Library if you need to use the debug runtime for debug
-builds. This will be changed in libpng 1.6 but is currently retained for
-compatibility with older libpng 1.5 releases.
+Libpng 1.6 does not use the default run-time library when building static
+library builds of libpng; instead of the shared DLL runtime it uses a static
+runtime. If you need to change this make sure to change the setting on all the
+relevant projects:
+
+libpng
+zlib
+all the test programs
The runtime library settings for each build are as follows:
Release Debug
-DLL /MD /MD
+DLL /MD /MDd
Library /MT /MTd
+NOTICE that libpng 1.5 erroneously used /MD for Debug DLL builds; if you used
+the debug builds in your app and you changed your app to use /MD you will need
+to change it to /MDd for libpng 1.6.
+
The Visual Studio 2010 defaults for a Win32 DLL or Static Library project are
as follows:
Release Debug
DLL /MD /MDd
Static Library /MD /MDd
-
-Notice that by default static library builds use the DLL runtime, not the
-static library runtime.