Commit Graph

33 Commits

Author SHA1 Message Date
Lukasz Czajczyk
23ee2b94b5
Simplified boolean expression 2019-01-21 16:50:00 -06:00
morinmorin
46e0bd762c Use Boost.Config's BOOST_ATTRIBUTE_UNUSED. 2015-09-11 02:08:43 +09:00
Mathias Gaunard
15c38db1d2 enable __attribute__((unused)) to avoid unused typedef warnings with all gcc-like variants starting with gcc 4.0. Avoids generating the warning with Clang among others. 2014-09-29 14:55:39 +02:00
jzmaddock
4aab0b78c3 If we have a static_assert we should use it, even if there are no variadic macros. 2013-12-11 18:57:43 +00:00
Stephen Kelly
d215ee5c9c StaticAssert: Remove obsolete MSVC version check.
[SVN r86035]
2013-09-30 00:20:43 +00:00
John Maddock
c951c0db9a Apply patch from #8644.
Refs #8644.

[SVN r84686]
2013-06-08 10:58:41 +00:00
John Maddock
8912d413ba Fix for compilers that have no variadic macros but do have static_assert (are there any??)
Fixes #8346.

[SVN r83806]
2013-04-08 08:45:06 +00:00
John Maddock
bf3ee21630 More variadic macro support for msvc and Intel.
[SVN r83444]
2013-03-15 18:21:03 +00:00
John Maddock
c40a626f1c Suppress GCC warnings.
[SVN r83104]
2013-02-23 18:26:39 +00:00
John Maddock
2993231dad Use variadic macros in static assert to make use easier.
Add warning suppression for GCC.
Minor doc fix.
Fixes #5810.
Fixes #7242.
Fixes #7966.

[SVN r82886]
2013-02-14 18:31:33 +00:00
Marshall Clow
ce9e800db8 Removed missed usage of deprecated macros in Boost.StaticAssert
[SVN r81588]
2012-11-27 14:30:10 +00:00
Beman Dawes
e910489e16 Add BOOST_STATIC_ASSERT_MSG
[SVN r68584]
2011-01-31 15:03:41 +00:00
Beman Dawes
80c6340833 Use BOOST_NO_STATIC_ASSERT
[SVN r59698]
2010-02-16 12:45:53 +00:00
John Maddock
8b819d5c6c Changed BOOST_STATIC_ASSERT for GCC to suppress warnings about old C style casts.
[SVN r43988]
2008-04-01 17:53:56 +00:00
Douglas Gregor
1663a635aa Fix C++0x helper macros
[SVN r37178]
2007-03-14 09:20:38 +00:00
Douglas Gregor
a0dac351fb Preliminary C++0x support
[SVN r36149]
2006-11-22 15:58:39 +00:00
Rene Rivera
f7531de553 Add custom static_assert for CodeWarrior <= 8. Which works in all contexts, specifically it works inside tempalte function contexts which the standard one doesn't. This makes all tests pass for this compiler for the first time.
[SVN r28941]
2005-05-15 22:40:40 +00:00
John Maddock
f60bc26f84 Improved gcc 3.3 and 3.4 error messages.
[SVN r25413]
2004-09-26 10:24:34 +00:00
Giovanni Bajo
328b4fee16 MWCW 8.3 no longer needs the enum version. This fixes a problem in Spirit, because of two header files both having a static assert at the same line.
[SVN r21364]
2003-12-21 16:34:52 +00:00
John Maddock
52bc1a8fb7 Added new licence info.
[SVN r20254]
2003-10-04 11:29:20 +00:00
John Maddock
a2c78d51be Updated licence
[SVN r20237]
2003-10-01 10:28:17 +00:00
John Maddock
19e8840ad7 Added __COUNTER__ based version for VC7 and later.
[SVN r19043]
2003-07-11 11:01:55 +00:00
Jens Maurer
64973e2132 add special version for SGI MIPSpro compiler
[SVN r18173]
2003-04-03 22:33:23 +00:00
Beman Dawes
5ea88d2e64 add or update See www.boost.org comments
[SVN r16708]
2002-12-27 16:51:53 +00:00
Aleksey Gurtovoy
1029ee8032 Intel C++ fix
[SVN r15351]
2002-09-16 01:19:05 +00:00
John Maddock
3ab5f7708e Stripped tabs from source
[SVN r12351]
2002-01-19 12:38:14 +00:00
John Maddock
10425f4864 commit of split-config, including any changes required to existing libraries (mainly regex).
[SVN r11138]
2001-09-18 11:13:39 +00:00
John Maddock
a674ac4176 Added comment about lack of static_cast
[SVN r10243]
2001-05-30 11:31:15 +00:00
John Maddock
2b67e5a182 cast integral constant expression to bool to fix some compiler warnings and some compiler bugs.
[SVN r10230]
2001-05-26 10:58:43 +00:00
Jens Maurer
8b37ed2072 add HP aCC workarounds
[SVN r10025]
2001-05-05 20:26:38 +00:00
John Maddock
5d68bc2fd8 fixed typo
[SVN r9836]
2001-04-19 10:53:11 +00:00
John Maddock
cb09a717dd tentative fix for MWCW
[SVN r8914]
2001-02-04 12:59:54 +00:00
John Maddock
8cb6da5df0 Static assert initial checkin
[SVN r8381]
2000-12-03 12:29:42 +00:00