2
0
mirror of https://github.com/boostorg/log.git synced 2026-01-19 16:32:09 +00:00

18 Commits

Author SHA1 Message Date
Andrey Semashev
26c93dc061 Replaced Boost.Thread synchronization primitives with std equivalents.
This replaces boost::thread and most mutexes and condition variables with
std equivalents. It also adds support for std lock types to the strictest_lock
type trait.

This significantly, although not completely, reduces the dependency on
Boost.Thread.

Refs https://github.com/boostorg/log/issues/232.
2024-08-16 20:01:18 +03:00
Andrey Semashev
de4e85e9b3 Switched to c++-template-depth feature instead of explicit compiler flags.
This allows to specify the limit for other compilers that support it
and remove it for clang-cl, which doesn't.
2020-09-08 18:23:57 +03:00
Andrey Semashev
4ef885fc7a Moved MSVC C/C++ runtime deprecated macros to a common place.
The _SCL_SECURE_NO_WARNINGS, _SCL_SECURE_NO_DEPRECATE,
_CRT_SECURE_NO_WARNINGS and _CRT_SECURE_NO_DEPRECATE macros need to be
defined for every compiler that uses MSVC C/C++ runtime, so instead of
duplicating these definitions in multiple places, define them for
Windows platform regardless of the compiler. In particular, they are
now defined for clang-cl.
2020-09-08 18:20:13 +03:00
Andrey Semashev
68d38321b3 Updated deprecated uses of boost::bind to silence warnings. 2020-03-04 00:44:23 +03:00
Andrey Semashev
4c7d98843f Use make_attr_ordering with explicit attribute value type.
Explicit specification of attribute value type is necessary when it cannot
be inferred from the function object type. With C++20 removing argument type
typedefs from standard function objects, like std::less, and compilers following
suit (e.g. future MSVC versions), it is better to update the example so that
it is compatible with future compilers.

Related to https://github.com/boostorg/log/issues/105.
2020-03-03 23:09:41 +03:00
Andrey Semashev
1138b47fce Removed linking with Boost.System.
Since Boost.System is now header-only, no need to link with the library.
2019-01-14 20:16:20 +03:00
Andrey Semashev
136fd2bdfd CI compilation fixes for Cygwin and MinGW.
Some tests pull in pthread rwlock and therefore need _XOPEN_SOURCE=600
or higher to compile. Added platform defines to tests and examples
for good measure.

For MinGW worked around Boost.Build error when BOOST_LOG_WITHOUT_EVENT_LOG
is defined.
2019-01-06 14:13:32 +03:00
Andrey Semashev
18df30ed33 Followup for the previous commit. 2015-03-25 00:48:52 +03:00
Andrey Semashev
71b12228f1 Disabled warning C4003 on MSVC 8 (VS2005). The warning was caused by Boost.PP macros used in Boost.Fusion and as reported by Boost.PP maintainer cannot be worked around locally in the macro definition. 2015-03-10 02:09:31 +03:00
Andrey Semashev
5bb604ee39 Updated copyright dates. 2015-01-25 17:32:33 +03:00
Andrey Semashev
d706f38e5b Disabled yet another useless warning of Intel Compiler. 2014-07-07 23:02:52 +04:00
Andrey Semashev
d90b457110 Added support for MSVC 14 CTP. 2014-07-05 20:19:40 +04:00
Andrey Semashev
40d5720f9e Disabled more of Intel warnings. 2014-06-23 15:35:45 +04:00
Andrey Semashev
a21d096e4a Updated copyright notes to 2014. 2014-01-19 18:46:09 +04:00
Andrey Semashev
313a5b69cd Merged recent changes from trunk.
[SVN r85657]
2013-09-12 17:17:07 +00:00
Andrey Semashev
b9a24cd46c Fixes #8585. Fixed typos in docs and comments.
[SVN r84352]
2013-05-18 14:21:26 +00:00
Andrey Semashev
ab97ab66d9 Added a check for availability of Message Compiler (mc) on Windows. This should simplify building the library on MinGW, Cygwin and MSVC Express and fix MinGW tests.
[SVN r84186]
2013-05-07 23:03:54 +00:00
Andrey Semashev
a7c4e0e319 Boost.Log merged to trunk.
[SVN r83860]
2013-04-13 12:30:25 +00:00