Commit Graph

64 Commits

Author SHA1 Message Date
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
effd8568a4 Disable Boost.Interprocess on Cygwin.
Boost.Interprocess doesn't compile on Cygwin:

https://github.com/boostorg/interprocess/issues/76

Also, disable affected tests and examples.
2019-01-06 19:51:48 +03:00
Andrey Semashev
61639024c9 Added _XOPEN_SOURCE=600 define for Cygwin, which is needed for pthread rwlocks. 2019-01-06 02:10:12 +03:00
Andrey Semashev
67eef1afba Switch to uncaught_exceptions from Boost.Core.
The implementation in Boost.Core was based in unhandled_exception_count
in Boost.Log, therefore we remove our loca implementation in favor
of the common one.
2018-12-17 19:21:25 +03:00
Andrey Semashev
d9014d2fbc Hidden visibility is now used by default in the superproject. 2018-09-30 22:24:06 +03:00
Andrey Semashev
d3f3776024 Removed compiler visibility check in favor of the visibility feature in BBv2.
Boost.Build offers better compatibility with different compilers, some of
which use different flags for changing the default visibility. This also
slightly simplifies Boost.Log Jamfile.
2018-08-25 02:02:07 +03:00
Andrey Semashev
d3226ec845 Updated Jamfile to avoid special characters in condition.
This silences a bjam warning.
2018-03-09 01:15:10 +03:00
Peter Dimov
ae6d04e58d Add boost-install to build/Jamfile 2017-12-17 19:06:56 +02:00
Andrey Semashev
d6d29f5f6c Exclude FreeBSD and other BSD systems from defining _XOPEN_SOURCE since Boost.ASIO fails to compile otherwise. 2017-07-01 22:03:52 +03:00
Andrey Semashev
a73ed3ef38 Updated library build scripts to unify system macros configuration for different platforms. In particular, this should improve compatibility with Solaris. It also avoids duplicating system macros in different places. 2017-06-30 23:42:45 +03:00
Andrey Semashev
299603ff02 Fixed auto-detection of native syslog API.
The auto-detection was removed in 1.62, which resulted in UDP socket-based implementation being always used. The new auto-detection verifies the presence of syslog.h and all required components it provides.

Fixes ticket #12600.
2016-11-10 19:46:52 +03:00
Andrey Semashev
caa81d4c25 Added a check for natively supported 32-bit atomic ops. If not supported, exclude IPC facilities from build. 2016-09-15 15:37:19 +03:00
Andrey Semashev
7138345801 Added a workaround for building failure with MinGW. 2016-07-13 00:20:42 +03:00
Andrey Semashev
9727acd277 Added a missing return in check-message-compiler. 2016-07-12 22:57:50 +03:00
Andrey Semashev
51af4eeae9 Fixes for Windows. 2016-04-14 19:32:04 +03:00
Andrey Semashev
05826649a0 Extracted platform-specific logic regarding interprocess object names to a separate object_name wrapper. Use this wrapper wherever interprocess queue name was used. Added a test for the wrapper. Extracted auto_handle to a separate header. 2016-04-14 19:32:04 +03:00
Andrey Semashev
09ea7f70d7 Working on the Windows implementation of reliable interprocess queue. Removed unused keywords. Ported to Boost.Align implementation of size alignment function. 2016-04-14 19:32:03 +03:00
Andrey Semashev
e5d5c66683 Changed the AVX2 flag for Intel compilers to -xCORE-AVX2. This flag is said to be supported since Intel Compiler 13 and is supposed to be better than -march=core-avx2 since it does not set the target architecture, which may be set by the user. 2016-04-14 19:32:03 +03:00
Andrey Semashev
24c70e7f29 Cleaned up the Jamfile and added a config macro for disabling IPC queues. Removed -march compiler flags where possible as they may override the user's choice. Removed the log-api feature as it no longer makes sense (the library is configured by enabling/disabling the particular sinks). Some renaming and cleanup. 2016-04-14 19:32:03 +03:00
Andrey Semashev
84b45f78a6 Continuing renaming files. 2016-04-14 19:32:03 +03:00
Andrey Semashev
489ac05ddd Extracting interprocess message queue to separate headers/sources. 2016-04-14 19:32:03 +03:00
Andrey Semashev
9f1978619b Extracted permissions wrapper to a separate header. Avoid using shared_ptr on Windows and add interop with Boost.Interprocess. 2016-04-14 19:32:03 +03:00
Andrey Semashev
696a0a72af Changed the fix for Solaris to define _XOPEN_SOURCE=500. This should fix #12098. 2016-04-01 10:56:15 +03:00
Andrey Semashev
886f0d0eb9 Attempt to work around #12098. Solaris headers cannot be included in C++ when _XOPEN_SOURCE=600 is defined. 2016-03-26 14:18:14 +03:00
Georg Sauthoff
b2bc15cf81 Request POSIX 2004 definitions on Solaris 10
Otherwise, the Boost Log build fails.

Tested on Solaris 10/SPARC (with gcc 4.9).
2016-02-08 20:58:36 +01:00
Andrey Semashev
a31ec74e51 Make sure that Windows API version is consistent for all sources.
Include winapi/config.hpp as soon as possible; avoid including even
Boost.Config before it so that it doesn't set Windows API version
accidentally by including some third party header. In all source files,
include detail/config.hpp or detail/setup_config.hpp first thing.

Moved all WinAPI config macros to the Jamfile.v2 and removed
windows_version.hpp as it was no longer needed. Also enabled inclusion of
windows.h while compiling the library.

Removed auto-linking with psapi.lib and advapi32.lib as it was no longer
working after ecf3114. Added linking with advapi32.lib to Jamfile.v2.
2015-12-20 21:05:28 +03:00
Andrey Semashev
c6f09d69c8 Fixed compilation on POSIX-like systems. Ported GetTickCount64 emulation to Boost.Atomic and got rid of union-based type punning as it is formally an UB. 2015-12-20 18:15:38 +03:00
Andrey Semashev
6845eb43cc Use Boost.Atomic for atomic operations. Remove obsolete atomic_queue.hpp header. 2015-10-15 22:52:06 +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
Jürgen Hunold
7ab1b14758 Lift architecture detection 2015-02-20 18:24:50 +01: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
dfb3049a7c Extracted text_multifile_backend implementation to a separate file. 2014-06-22 18:46:17 +04:00
Andrey Semashev
e21460ca10 Added more linking switches for compatibility with different platforms.
The switches were taken from Boost.ASIO Jamfiles as most of them are needed to build network-related code. Also replaced the linkflags with libraries so that Boost.Build takes care of the actual flags.
2014-06-22 17:33:50 +04:00
Andrey Semashev
33cca4b538 Added -lsocket for QNX. 2014-06-22 15:05:20 +04:00
Andrey Semashev
da1f448fd5 Corrected compiler switches to enable AVX2 and SSSE3 for Intel Compiler. Disabled some bogus warnings as well. 2014-06-21 22:12:17 +04:00
Andrey Semashev
940bf90f9f #9864. Change MinGW and Cygwin target selection for Boost.Build. 2014-04-09 21:48:02 +04:00
Andrey Semashev
493218d7be Do not depend on Boost.Regex if settings parsers or default factories are disabled. 2014-03-22 18:40:56 +04:00
Andrey Semashev
e01be8c293 Switched to Boost.Regex regex backend by default. Performance tests showed that it is faster than Boost.Xpressive for small string matching. std::regex is the slowest across all tested platforms (MSVC 12, gcc 4.8, clang 3.4). Boost.Regex also produces smaller executables than Boost.Xpressive. 2014-03-22 18:27:38 +04:00
Andrey Semashev
dad4c881cd Added configuration macros for regex backend selection. The backend is used by string matching filters parsed from strings and settings. 2014-03-19 22:32:57 +04:00
Andrey Semashev
a21d096e4a Updated copyright notes to 2014. 2014-01-19 18:46:09 +04:00
Andrey Semashev
d3419b1091 Reapplied changeset [86160].
[SVN r86199]
2013-10-08 14:44:59 +00:00
Andrey Semashev
56bb6f2dca Temporarily reverted the last commit [86164], until 1.55 beta ships.
[SVN r86166]
2013-10-05 19:02:18 +00:00
Andrey Semashev
6e6ad59e52 Merged latest changes from trunk.
[SVN r86164]
2013-10-05 14:02:30 +00:00
Andrey Semashev
5204873fa9 Merged latest changes from trunk.
[SVN r85461]
2013-08-25 14:20:22 +00:00
Andrey Semashev
cdd85fc887 Merged recent changes from trunk. Fixes #8730.
[SVN r85093]
2013-07-20 18:09:32 +00:00
Andrey Semashev
c26eb04d13 Raised template instantiation limit for darwin toolset.
[SVN r84829]
2013-06-18 17:39:33 +00:00