summaryrefslogtreecommitdiff
path: root/docs/manual.qbk
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-03 19:20:38 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-03 19:20:38 +0000
commitc5d3c8b1ca59f5918cb5973111f8dd4d2687f5d7 (patch)
tree7bb72f0e804033a88858016124b9a2f2ccf2f2d5 /docs/manual.qbk
parent0f944c1f00c0008d52ace22b7779c26c6c3ce624 (diff)
docs: Documented the DLL runtime library caveat in case pugixml is in shared library
git-svn-id: http://pugixml.googlecode.com/svn/trunk@765 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'docs/manual.qbk')
-rw-r--r--docs/manual.qbk2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/manual.qbk b/docs/manual.qbk
index 09e08a1..4e383db 100644
--- a/docs/manual.qbk
+++ b/docs/manual.qbk
@@ -190,6 +190,8 @@ It's possible to compile pugixml as a standalone shared library. The process is
#define PUGIXML_API __declspec(dllimport)
#endif
+[caution If you're using STL-related functions, you should use the shared runtime library to ensure that a single heap is used for STL allocations in your application and in pugixml; in MSVC, this means selecting the 'Multithreaded DLL' or 'Multithreaded Debug DLL' to 'Runtime library' property (/MD or /MDd linker switch). You should also make sure that your runtime library choice is consistent between projects.]
+
[endsect] [/shared]
[section:config Additional configuration options]