Commit Graph
56 Commits
Author SHA1 Message Date
Beman Dawes fcdecd4c96 Remove extraneous defines since they are inherited from library build Jamfile
[SVN r42873]
2008-01-20 02:01:35 +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 966931ad20 Include system-specific headers, change namespaces accordingly.
[SVN r41040]
2007-11-12 17:42:42 +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 8d33f005b0 Borland appends newline, so just check text
[SVN r40926]
2007-11-08 12:35:50 +00:00
Beman Dawes f9cbc5a384 Cope with larger errno on 64-bit systems
[SVN r40918]
2007-11-08 02:55:21 +00:00
Beman Dawes d8116dd036 Remove prematurely committed portion of prior change
[SVN r40825]
2007-11-06 02:54:29 +00:00
Beman Dawes c517a05702 Make message test conditional for Windows, Linux, HP-UX, OSF, and VMS (Boris Gubenko)
[SVN r40824]
2007-11-06 02:29:50 +00:00
Beman Dawes c4ded309f8 Add message display to illuminate why aCC fails Unknown error test
[SVN r40782]
2007-11-05 12:36:41 +00:00
Beman Dawes fdeda4c580 Workaround MingW doesn't supply GetUserDefaultUILanguage
[SVN r40744]
2007-11-04 17:18:53 +00:00
Beman Dawes 323dfd55a5 glibc++ may append unknown error value, so only test first part of string
[SVN r40738]
2007-11-04 15:32:03 +00:00
Beman Dawes e0c466534b Detect Windows FormatMessage errors, standardize message() return on message-not-found errors
[SVN r40710]
2007-11-03 00:49:07 +00:00
Beman Dawes e4fc987f74 WinCE workaround for lack of FormatMessageA
[SVN r40682]
2007-11-02 12:43:47 +00:00
Beman Dawes 1430daeb8c Add missing BOOST_SYSTEM_NO_DEPRECATED #ifndef
[SVN r40627]
2007-10-31 18:28:39 +00:00
Vladimir Prus d0dd2d3764 Make sure every library can be installed by using
bjam stage|install

in libs/<library>/build.


[SVN r40475]
2007-10-26 09:04:25 +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 6b89c517f9 Limit Windows expected message check to US English
[SVN r39609]
2007-09-29 19:40:23 +00:00
Beman Dawes 1101e65491 Quiet compiler warnings
[SVN r39585]
2007-09-28 02:03:29 +00:00
Beman Dawes d9449298c0 AIX treats ENOTEMPTY and EEXIST as the same value. Reported by Chris Cambly
[SVN r39577]
2007-09-27 16:56:23 +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
Christopher Kohlhoff 4a364b1532 Use a switch rather than an array to translate system_category error codes to their corresponding default error conditions. Add translations for the Winsock error codes.
[SVN r39502]
2007-09-24 12:53:37 +00:00
Beman Dawes 2aa7ebf758 Fix order-of-initialization problem, add initialization_test.cpp to detect regression.
[SVN r39449]
2007-09-21 16:42:27 +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 e4ca75e70a Add get_posix_category, get_system_category, to solve order-of-initialization issues
[SVN r39396]
2007-09-19 19:30:23 +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
K. Noel Belcourt 64b936097f Remove unnecessary overhead in execunix.c related to
the timeout implementation.  Also removed unused variables
as diagnosed by the Sgi (mipspro) compiler.

Fixed const-correctness error in operations.hpp that
Sgi complained about.

There's no strerror_r function on Irix 6.5 so I replaced
it with a strerror call.

With these changes, I can now build process jam log and
start running Sgi tests.



[SVN r39378]
2007-09-18 22:46:26 +00:00
Beman Dawes 9e9ac45181 quiet compiler warning
[SVN r39375]
2007-09-18 21:01:26 +00:00
Beman Dawes f114239d60 Missing std added to ::remove to clear problem in Sun tests
[SVN r39292]
2007-09-15 01:36:14 +00:00
Beman Dawes f733867bb0 Replace docs with up-to-date contents, design
[SVN r39270]
2007-09-14 15:45:36 +00:00
Beman Dawes 3f0a2acbe1 Supply errno values missing from Windows Mobile
[SVN r39261]
2007-09-14 10:37:11 +00:00
Beman Dawes 19892ad06b Remove <runtime-link>static to see if that is what is causing link problems on a few gcc platforms
[SVN r39255]
2007-09-14 02:00:25 +00:00
Beman Dawes 0a283a8f00 Ensure error_category::operator< test works regardless of how compiler lays out memory.
[SVN r39248]
2007-09-13 21:47:25 +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 0af65ce63f Ha! Finally figured out how to shut off msvc exception switch warning. Also fix define misspelling.
[SVN r39188]
2007-09-11 02:07:50 +00:00
Beman Dawes 7f66a1ea0f Chris Kohlhoff says change needed for asio to link correctly
[SVN r39186]
2007-09-11 01:11:03 +00:00
Beman Dawes e062aaff2f Posix and Linux fixes
[SVN r39174]
2007-09-09 17:48:17 +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
Vladimir Prus 1656e087bb Revive V1 Jamfile to please asio
[SVN r38835]
2007-08-22 12:14:05 +00:00
Vladimir Prus d795262a9e Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +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
Boris Gubenko c8afd97b47 strerror vs strerror_r: add conditionalization for Tru64 and VMS
[SVN r37966]
2007-06-11 15:14:49 +00:00
Beman Dawes 8e2ee5a2f3 add include for <cassert> (Ryo Igarashi)
[SVN r37665]
2007-05-11 11:57:38 +00:00
Christopher Kohlhoff da0da6dc28 Make init_decoders[] a function-local static, rather than global, to avoid
problems with order of initialisation of globals across translation units.
Thanks to Oleg Kosenkov for reporting this issue and suggesting a fix.


[SVN r37380]
2007-04-06 09:12:28 +00:00
Douglas Gregor 111c30d99e Add missing include of <cstdlib>
[SVN r37286]
2007-03-26 13:58:53 +00:00
Beman Dawes 2fbf2718c4 In errno_md, for Sun and HP, always use strerror because it is always available and always thread safe on those systems. Linux, provide macro since there is no way to tell if available at runtime.
[SVN r36447]
2006-12-18 12:44:08 +00:00
Beman Dawes 5688d4a3a2 Fix errno_md POSIX strerror_r loop bugs (Alexander Nasonov)
[SVN r36446]
2006-12-18 12:12:26 +00:00
Beman Dawes 2cb2125ac9 ifdef around winerror.h include (Alexander Nasonov)
[SVN r36410]
2006-12-15 22:26:16 +00:00