Commit Graph

535 Commits

Author SHA1 Message Date
John Maddock
948271c0ae Fix Clang workaround.
Fixes #6156.

[SVN r76323]
2012-01-05 17:29:22 +00:00
Daniel James
9436535318 Unordered: Fix complex type for gcc's standard library. Fixes #6139.
I haven't had any confirmation, but I assume this fixes the problem.


[SVN r75909]
2011-12-11 21:43:01 +00:00
Peter Dimov
469b547c88 Merge [75396] to release. Fixes #4678.
[SVN r75757]
2011-11-30 18:08:41 +00:00
Daniel James
609cf3c49f Detail: Fix BOOST_CONTAINER_FWD_COMPLEX_STRUCT. Refs #6139.
My last change was wrong, it isn't struct for Dinkumware. In GCC's
standard library it's declared as a class, but later defined as a
struct. This is so far untested as I'm building the latest trunk version
of clang (the warning doesn't show for the current clang release).

[SVN r75600]
2011-11-21 23:21:32 +00:00
Daniel James
735804d636 Detail: complex is a struct in Dinkumware.
IIRC it's `class` in SGI's STL and most other implementations. The state
for similar warnings for the compilers that I've looked at:

- Visual C++ never warns because I used a pragma to disable the warning.
- GCC never warns with its standard library since it contains a
  `system_header` pragma. It might warn for other libraries.
- Clang respects GCC's pragma so it never warns for GCC's standard
  library. Forward declarations are disabled for libc++ so this isn't an
  issue there. It does warn when using Dinkumware and possibly other
  standard libraries.

I'm tempted to make container forwarding 'opt-in' rather than 'opt-out'.
Or maybe only enable for compiler/library combinations where it's known
to work.

[SVN r75561]
2011-11-19 23:29:24 +00:00
Daniel James
4c711ba972 Detail: Revert [67484] in container_fwd. Refs #6139
[SVN r75544]
2011-11-18 11:32:43 +00:00
Peter Dimov
0f51c7701d Use <intrin.h> for VS2010+. Refs #4678.
[SVN r75396]
2011-11-07 23:08:53 +00:00
Daniel James
32b452486f Merge to release several changes for 1.48.
[SVN r75293]
2011-11-04 02:31:36 +00:00
Daniel James
7b712685ce Detail: Don't forward declare containers for gcc in profile mode. Refs #6029.
Also a big clear comment about `BOOST_DETAIL_NO_CONTAINER_FWD` and a
fixed typo.

[SVN r75016]
2011-10-17 20:36:56 +00:00
Daniel James
b95901a068 Detail: Merge new version of container_fwd.
And a couple of old failure markups that I hadn't merged yet.


[SVN r73482]
2011-08-01 23:12:19 +00:00
Daniel James
2423aff085 Detail: Turn forward declarations for IBM Visual Age standard library.
[SVN r73453]
2011-07-30 20:24:39 +00:00
Daniel James
8a12de16a4 Detail: Turn off warnings as errors for compile-fail tests.
The test shouldn't succeed because the compile failed because of a warning.


[SVN r73096]
2011-07-14 09:47:51 +00:00
Daniel James
e87588af6a Detail: test container_fwd for debug version of standard library.
[SVN r72996]
2011-07-10 13:15:08 +00:00
Daniel James
bb1f3d690a Detail: More pessimistic container_fwd.hpp
Have a separate config stage, which by default disables forward
declaration of containers. Also add a test to check that if it is
disabled correctly.

Removed forward declaration of std::pair - since it's almost always
included by `<utility>`.

[SVN r72990]
2011-07-09 17:13:39 +00:00
Anthony Williams
3b2a3d1cfc Merged fix for issue #4849 from trunk (fix boost.thread on mingw64) (authorized by rene)
[SVN r72657]
2011-06-17 21:01:46 +00:00
Vicente J. Botet Escriba
be8f3b19eb Chrono: inspect update
[SVN r71219]
2011-04-12 20:46:04 +00:00
Daniel James
799953dd55 Detail: Merge tests + disable container_fwd on libc++.
[SVN r70719]
2011-03-29 21:58:48 +00:00
Jeremiah Willcock
e2ed5892c2 Merged more fixes from trunk; added is_sorted.hpp because that is needed for BGL fixes
[SVN r70704]
2011-03-29 19:07:16 +00:00
Vicente J. Botet Escriba
860576c740 Chrono: Added detail/win directory
[SVN r70537]
2011-03-25 01:20:55 +00:00
Daniel James
07227dd61d Detail: fully merge lightweight_test.hpp
[SVN r70475]
2011-03-23 13:23:55 +00:00
Peter Dimov
1d3205b456 Merge [69260] to release. Fixes #5216.
[SVN r70440]
2011-03-22 23:51:10 +00:00
Anthony Williams
9f938bf39b Applied patch from issue #4849
[SVN r70383]
2011-03-21 23:09:07 +00:00
Peter Dimov
c42fd431af Add hash_value for shared_ptr; prevents hash_value( bool ) from being used. Refs #5216.
[SVN r69260]
2011-02-24 23:24:54 +00:00
David Deakins
704bb6644b Changes to complete Boost.Chrono support for Windows CE. Closes ticket 5218.
[SVN r69240]
2011-02-24 18:21:52 +00:00
Beman Dawes
94dcc475a1 Merge trunk
[SVN r68911]
2011-02-15 14:18:42 +00:00
Christopher Jefferson
5367f6459d libc++ also has no const on codecvt length
[SVN r68859]
2011-02-14 10:27:38 +00:00
Beman Dawes
8717cff3c5 Initial commit; bitmask.hpp is needed by upcoming filesystem changes
[SVN r68836]
2011-02-13 14:48:01 +00:00
Christopher Jefferson
361414ba84 Disable forward container declarations for libc++
[SVN r68786]
2011-02-11 20:39:25 +00:00
Steven Watanabe
4920859a06 Restore [66804], [66833], and [66834]. (fenv fixes.) I mistakenly reverted them in [68201] because [66804] was mislabeled.
[SVN r68554]
2011-01-30 06:24:30 +00:00
Beman Dawes
76e55056de Add BOOST_ASSERT_MSG. Add macros to configure output stream.
[SVN r68414]
2011-01-24 15:37:13 +00:00
Steven Watanabe
b98d99bc63 Revert addition of BOOST_NIX, etc and everything tied to it. ([66696], [66783], [66804], [66833], and [66834])
[SVN r68201]
2011-01-17 04:51:54 +00:00
Steven Watanabe
d20069a4d6 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
e3049b1480 Make <boost/detail/iomanip.hpp> include <iomanip> and put the <iomanip> functions
in the boost::detail namespace if not on clang- or intel-linux.



[SVN r68165]
2011-01-15 02:23:46 +00:00
Bryce Adelstein-Lelbach
74a47fbf05 Fixed issue with iomanip implementation + Apache stdlib.
[SVN r68156]
2011-01-14 17:39:36 +00:00
Bryce Adelstein-Lelbach
0693db0847 Fixed ambiguity issues when compiling with C++0x support enabled.
[SVN r68155]
2011-01-14 17:37:59 +00:00
Bryce Adelstein-Lelbach
e8060b3ef5 Removed the use of __gnu_cxx::is_sorted from Boost.Graph as it's lolnonportable,
implemented a version of the algorithm as a replacement,



[SVN r68144]
2011-01-14 03:02:47 +00:00
Bryce Adelstein-Lelbach
4a1c553f90 Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Bryce Adelstein-Lelbach
99f3841839 Updating copyright.
[SVN r68137]
2011-01-14 00:23:15 +00:00
Vicente J. Botet Escriba
91db205d17 Boost.Chrono: try to fix LONGLONG_ definition
[SVN r68128]
2011-01-13 22:07:19 +00:00
John Maddock
bb233de354 Merge STLPort endian detection to release.
[SVN r68091]
2011-01-13 11:28:34 +00:00
Hartmut Kaiser
455d56887e Spirit: merge from trunk, more to come
[SVN r68069]
2011-01-12 19:22:18 +00:00
Beman Dawes
17d5ed080b Merge from trunk
[SVN r68054]
2011-01-12 14:57:41 +00:00
John Maddock
7ce0af2bba Add missing fenv.hpp file.
[SVN r67854]
2011-01-09 11:15:02 +00:00
Vicente J. Botet Escriba
e7f3ca8c2f Boost.Chrono: Added detail/win files used by Boost.Chrono to manage with HEAADER_ONLY libs
[SVN r67749]
2011-01-07 07:51:15 +00:00
Daniel James
475c3310be Move tests for container_fwd.hpp into detail.
[SVN r67667]
2011-01-04 23:30:22 +00:00
Bryce Adelstein-Lelbach
d6a77e4054 Added the get_c_string function back in (it dispatches to the get_c_string_impl
CP). Fixed utree::list_type attribute so that only non-list utree nodes are wrapped in lists (this was the original behavior we wanted).



[SVN r67484]
2010-12-29 01:37:28 +00:00
Bryce Adelstein-Lelbach
a057517431 Added an iomanip implementation to boost/detail. GNU's libstdc++ version 4.5+
contains an iomanip header which uses C++0x features that only GCC supports,
causing breakage with ICC and Clang. Also added a test, but I'm not sure how to
set it up to be run by the testing machines.



[SVN r67111]
2010-12-08 18:25:07 +00:00
Beman Dawes
2a7bc8999f fix fumble-fingers
[SVN r66895]
2010-11-30 14:56:03 +00:00
Beman Dawes
6d861790f7 Rename main.hpp -> lightweight_main.hpp
[SVN r66894]
2010-11-30 14:53:22 +00:00
Beman Dawes
313008fc31 Add lightweight std::exception catching main, dependent only upon <iostream> and <exception>
[SVN r66893]
2010-11-30 14:48:03 +00:00