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
This commit is contained in:
parent
0f944c1f00
commit
c5d3c8b1ca
1 changed files with 2 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue