mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-13 15:27:09 +01:00
Update POCO to 1.11.0
This commit is contained in:
1 parent
151077c799
commit
7a3d92d1d1
450 files changed
+25219
-6528
No files matched your search
+7
-4
@@ -55,11 +55,11 @@
|
||||
//
|
||||
// In this scenario, std::ios::init() is called twice
|
||||
// (the first time by the MyIOS constructor, the second
|
||||
// time by the std::istream constructor), resulting in
|
||||
// two locale objects being allocated, the pointer second
|
||||
// one overwriting the pointer to the first one and thus
|
||||
// time by the std::istream constructor), resulting in
|
||||
// two locale objects being allocated, the pointer second
|
||||
// one overwriting the pointer to the first one and thus
|
||||
// causing a memory leak.
|
||||
//
|
||||
//
|
||||
// The workaround is to call init() only once for each
|
||||
// stream object - by the istream, ostream or iostream
|
||||
// constructor, and not calling init() in ios-derived
|
||||
@@ -77,6 +77,9 @@
|
||||
# define POCO_IOS_INIT_HACK 1
|
||||
// QNX with Dinkumware but not GNU C++ Library
|
||||
# elif defined(__QNX__) && !defined(__GLIBCPP__)
|
||||
# define POCO_IOS_INIT_HACK 1
|
||||
// Linux with Clang libc++
|
||||
# elif defined(__linux) && defined(_LIBCPP_VERSION)
|
||||
# define POCO_IOS_INIT_HACK 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user