Commit Graph

16 Commits

Author SHA1 Message Date
siren186
73df3689bf
enh(Poco::ActiveThreadPool): make it easy to use correctly (#4624)
* make Poco::ActiveThreadPool easy to use (#4544)

* code format

* Fix ThreadSanitizer thread leak error

* enh(ActivePooledThread): Change pointers to references

* enh(ActivePooledThread): remove unused method

* enh(Poco::ActiveThreadPool): Use std::unique_ptr instead of raw pointer

* enh(Poco::ActiveThreadPool): Use C++ static_cast instead of C casting

* enh(Poco::ActiveThreadPool): Use standard containers instead of implementing own

* enh(Poco::ActiveThreadPool): Change pointer to reference

* enh(Poco::ActiveThreadPool): Use smart pointers instead of bare pointers

* enh(Poco::ActiveThreadPool): Fix codeql warning: A stack address which arrived via a  may be assigned to a non-local variable.

* enh(Poco::ActiveThreadPool): More test case

* enh(Poco::ActiveThreadPool): std::optional::value unavailable on earlier macOS versions

* enh(Poco::ActiveThreadPool): Fix compare function for make heap

* enh(Poco::ActiveThreadPool): Add more test case

* enh(Poco::ActiveThreadPool): Add more test case

* enh(Poco::ActiveThreadPool): Code style

* enh(Poco::ActiveThreadPool): Test case

* enh(Poco::ActiveThreadPool): Test case

* enh(Poco::ActiveThreadPool): Fix test case error

* Revert "enh(Poco::ActiveThreadPool): std::optional::value unavailable on earlier macOS versions"

This reverts commit cba4673b47.

* enh(macOS): require min deployment macOS version 10.15 which has full support for C++17

* enh(Poco::ActiveThreadPool): Remove useless "{}"

* enh(Poco::ActiveThreadPool): Rename member variable m_impl to _impl

---------

Co-authored-by: Matej Kenda <matejken@gmail.com>
2024-08-30 11:54:44 +02:00
Matej Kenda
843ed4345e
gcc/clang (-fvisibility=hidden): corrections to compile and work properly (#4394)
* fix(ActiveRecord): missing ActiveRecordLib_API definitions for clang/gcc.

* fix(FPEnvironment): export FPEnvironmentImpl classes (#4393, #3331)

* fix(Crypto): export *Impl classes used from inlines (#4393, #3331)

* fix(Dynamic): explicitly instantiate and export Dynamic::Struct for string and int (-fvisibility=hidden) (#4393, #3331)

* fix(JSON): explicitly instantiate and export SharedPtr for JSON::Array and JSON::Object (-fvisibility=hidden) (#4393, #3331)

* enh(CMake): Set symbol visibility to hidden (#4393, #3331)

* enh(configure): user c++17 standard for iphone, Darwin and ARM-Linux.

* fix(UTF): explicitly instantiate and export 16 and 32-bit strings (-fvisibility=hidden) (#4393, #3331)

* fix(RecordSet): make Extraction.h internal and instantiate RecordsSet::column template functions only for supported types. (-fvisibility=hidden) (#4393, #3331)

* fix(UTF): fix explicitly instantiation on Windows (-fvisibility=hidden) (#4393, #3331)

* enh(CMake): Add github jobs for macOS with visibility set to hidden (#4393, #3331)

* fix(CppParser): Add missing declarations for CppParser_API (#4393, #3331)

* enh(CMake): Enable more options in github jobs for macOS with visibility set to hidden (#4393, #3331)

* fix(MongoDB): Add missing MongoDB_API (#4393, #3331)
2024-01-17 14:13:24 +01:00
Günter Obiltschnig
69d15c5ddd fix include/lib paths for Apple Silicon 2022-11-17 11:47:18 +01:00
Günter Obiltschnig
ff6144f064 support sanitizers in build configs 2021-06-16 08:33:13 +02:00
Günter Obiltschnig
0d621635b0 update build configs - add support for Apple Silicon 2021-06-14 18:33:56 +02:00
Günter Obiltschnig
35ce47c66e fix clang config 2020-01-24 13:07:05 +01:00
Günter Obiltschnig
d92219e8c3 fixed build configuration for Xcode 11 on Catalina 2019-11-26 11:24:26 +01:00
Guenter Obiltschnig
a6bdc7b53b cleaned up build configs 2017-11-09 19:28:31 +01:00
Alex Fabijanic
2cfe5a5097 add -std=c99 for g++ and clang 2017-09-27 14:37:58 -05:00
Guenter Obiltschnig
bbecde0829 fixed GH #1536: Building with OS X 10.12 SDK and 10.7 deployment target without libc++ fails; updated Darwin build configurations 2017-01-10 16:57:22 +01:00
Guenter Obiltschnig
a4475b694e updated Apple configs 2016-12-29 11:20:58 +01:00
Guenter Obiltschnig
d334c7cf8b add brew OpenSSL search paths to Darwin configs 2015-10-05 09:34:13 +02:00
Aleksandar Fabijanic
e55af93fc2 replace POCO_PREFIX with POCO_LIB_INSTALLDIR 2015-01-13 07:40:52 -06:00
Steven Hahn
24d6b57c90 set install_name to POCO_PREFIX/lib 2015-01-12 11:48:45 -05:00
Stefan Csomor
be59dcf913 using c++11 and fixing libc++ linking for clang 2013-10-11 23:43:29 +02:00
Andrea Bigagli
a2229781fa Added configurations for building with clang/libc++ for iPhone, iPhoneSimulator and Darwin 2013-02-27 15:59:40 +01:00