Commit Graph

95 Commits

Author SHA1 Message Date
Tim Blechmann 2c620a4f3a fix header-only use of error codes
BOOST_ERROR_CODE_HEADER_ONLY was not working when the headers are separated
from the sources (e.g. when installing the headers to fhs-style /usr/include
or the like). to avoid this, we move the implementation to an .ipp file

Signed-off-by: Tim Blechmann <tim@klingt.org>
2014-01-04 12:36:44 +01:00
Vicente J. Botet Escriba ec4d3bc41e System/FileSystem: merge from trunk to fix #7278.
[SVN r83550]
2013-03-24 20:20:29 +00:00
Beman Dawes 08ea984237 Use C++11 explicit conversion operator if available
[SVN r83210]
2013-02-28 20:55:07 +00:00
Beman Dawes 87130d1d73 Add BOOST_SYSTEM_NOEXCEPT to several functions previously missed. Update documentation to reflect use of noexcept with fallback to C++03 when C++11 feature not present.
[SVN r83197]
2013-02-28 02:13:56 +00:00
Vicente J. Botet Escriba 65e14ff167 System/FileSystem/Asio/Thread: ref #7278 Added noexcept to Boost.System to conform with C++11
[SVN r81808]
2012-12-09 14:47:39 +00:00
Beman Dawes 5430d82f9f System: merge trunk
[SVN r78528]
2012-05-21 13:39:58 +00:00
Beman Dawes bdcfe61429 Revert portion of 68183. This changeset was aimed at other libraries, but inadvertently modified three boost/system headers.
[SVN r78325]
2012-05-04 20:12:58 +00:00
Beman Dawes 5183a336c2 Revert to BOOST_SYSTEM_STATIC_LINK as the default if no linkage macros supplied. See http://www.boost.org/doc/libs/1_49_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code
[SVN r78267]
2012-04-30 14:01:34 +00:00
Beman Dawes af17253f90 Make BOOST_x_DYN_LINK tbe default
[SVN r77999]
2012-04-15 20:16:18 +00:00
Beman Dawes 7671b1291c Tighten config.hpp and Jamfile logic before attaching static build problems.
[SVN r77997]
2012-04-15 19:16:49 +00:00
Vicente J. Botet Escriba 322e46fc49 Boost.Ratio/Chrono: Added boost/ratio/include.hpp file and make use of boost/ratio/ratio.hpp when all the files are not needed
[SVN r68183]
2011-01-16 12:07:26 +00:00
Beman Dawes 7ffc036bc2 Merge trunk, including changes to come into closer conformance with C++0x FCD
[SVN r63685]
2010-07-06 10:47:30 +00:00
Beman Dawes baae3a392a Upgrade system and filesystem to conform system_category and generic_category interface to N3090, the current C++0x working paper, section 19.5, System error support.
Refactor API macros into a new header, boost/system/api_config.hpp.

Prohibit user definition of API macros. Rationale: ensure all translation units use same definitions, cut number of environments that need to be tested.

[SVN r62313]
2010-05-30 15:38:32 +00:00
Beman Dawes 2bb0075e3f Major upgrade to Boost.Config symbol visibility macros for shared libraries, based on patches from Jürgen Hunold with mods by Beman Dawes. Upgrade Boost.System to use the new visibility macros. Fixes #3697 and provides foundation for fixing 2114, 2309, etc.
[SVN r62140]
2010-05-22 12:12:00 +00:00
Beman Dawes 2f6659f39e Fix #3927
[SVN r59673]
2010-02-13 17:08:39 +00:00
Beman Dawes f8ddc693ae System: merge trunk
[SVN r57634]
2009-11-13 14:37:32 +00:00
Beman Dawes 6a925690ca System: Correct too_many_symbolic_link_levels misspelling. Fix #3559.
[SVN r57553]
2009-11-10 19:31:24 +00:00
Beman Dawes 691fb5522c system: merge trunk
[SVN r56777]
2009-10-13 13:44:42 +00:00
Beman Dawes b9fbd88eb6 System: minor code clean up
[SVN r56631]
2009-10-07 13:27:27 +00:00
Beman Dawes f1cdde273a System: move throws function to namespace boost to allow peaceful coexistence with throws object.
[SVN r50727]
2009-01-22 14:47:50 +00:00
Beman Dawes 5bc362e4f3 System: provide optional throws function rather than throws object
[SVN r50705]
2009-01-21 18:01:14 +00:00
Beman Dawes a6728e5fb9 System: add deprecated get_posix_category() to fix ticket #2461
[SVN r49717]
2008-11-13 16:05:49 +00:00
Beman Dawes d19e139e11 Change names to ErrorCodeEnum and ErrorConditionEnum to conform to N2798
[SVN r49290]
2008-10-12 13:07:11 +00:00
Beman Dawes d6446d1cfb Add error_code throws
[SVN r48577]
2008-09-04 17:36:56 +00:00
Beman Dawes a97517585c Add const char* constructors to system_error, rationalize test coverage
[SVN r46678]
2008-06-25 14:16:59 +00:00
Beman Dawes 2953464e99 Apply LWG issue 805, using a namespace to emulate scoped enums.
[SVN r46645]
2008-06-24 14:59:10 +00:00
Christopher Kohlhoff 4d3adbca3f Try to fix an order-of-initialisation problem with error_category references.
The symptom, which only occurs in some applications, is a crash due to a
dereference of a null pointer. The exact conditions under which the problem
occurs are not fully understood, so this fix is probably more paranoid than
necessary.


[SVN r41100]
2007-11-15 06:19:04 +00:00
Beman Dawes 04a62ca2b1 Add separate headers for system-specific enums, thus reducing coupling. Suggested by Emil Dotchevski.
[SVN r41033]
2007-11-12 15:22:24 +00:00
Beman Dawes 1430daeb8c Add missing BOOST_SYSTEM_NO_DEPRECATED #ifndef
[SVN r40627]
2007-10-31 18:28:39 +00:00
Beman Dawes 6eda75a19e Fix linux_errno misspelling
[SVN r40360]
2007-10-23 15:04:43 +00:00
Beman Dawes 2f9e1cee92 Rename posix, windows, Linux, and cygwin namespaces to conform with C++ std.
[SVN r40352]
2007-10-23 13:00:18 +00:00
Beman Dawes 1101e65491 Quiet compiler warnings
[SVN r39585]
2007-09-28 02:03:29 +00:00
Beman Dawes 35374bcb3d Turns out the --dep_name errors were due to functions in the wrong namespace (Chris Kohlhoff)
[SVN r39553]
2007-09-26 17:48:27 +00:00
Beman Dawes 4bd0f9e70d Supply std:: to fix Borland 5.9.2 errors
[SVN r39525]
2007-09-25 17:27:04 +00:00
Beman Dawes a9e9f426cc Some compilers require all of the make_error_* functions be template specializations. See prior log message.
[SVN r39438]
2007-09-21 11:45:23 +00:00
Beman Dawes 640383329f Strictly conforming compilers (EDG with --dep_name) require the make_* functions be defined before used. Report and fix from Markus Schopflin. EDG info from Boris Gubenko.
[SVN r39428]
2007-09-20 21:04:34 +00:00
Beman Dawes 4ff64eea34 Add get_posix_category, get_system_category, to solve order-of-initialization issues
[SVN r39394]
2007-09-19 19:28:56 +00:00
Beman Dawes 9e9ac45181 quiet compiler warning
[SVN r39375]
2007-09-18 21:01:26 +00:00
Beman Dawes 3f0a2acbe1 Supply errno values missing from Windows Mobile
[SVN r39261]
2007-09-14 10:37:11 +00:00
Beman Dawes 1818d5f65a Some compilers warn on trailing enum constant list commas, so remove these to quiet the warnings.
[SVN r39226]
2007-09-12 21:43:20 +00:00
Beman Dawes 04e774f337 Merge system and filesystem branches, bringing them in sync with N2415. Several filesystem bugs fixed, and current_path setter added.
[SVN r39173]
2007-09-09 14:59:10 +00:00
Beman Dawes ffb49adbc3 supply errno values likely to be missing, particularly on Windows
[SVN r37996]
2007-06-15 13:28:26 +00:00
Beman Dawes 7fff4fdaa5 move identifier to namespace detail
[SVN r36028]
2006-11-13 22:11:30 +00:00
Beman Dawes d6a768a69d Initial commit
[SVN r35835]
2006-11-04 13:39:01 +00:00
Beman Dawes f3c8c74656 Bring into compliance with N2066, TR2 Diagnostics Enhancements. Tests passing on Win32, Linux, on most modern compilers.
[SVN r35823]
2006-11-03 16:57:30 +00:00