Commit Graph

36 Commits

Author SHA1 Message Date
Andrey Semashev
f14b2a48d2 Remove trailing spaces and newlines in Boost.StaticAssert sources. 2025-12-26 00:55:23 +03:00
Ion Gaztañaga
e2983cb02a Small fix for Wsign-conversion 2021-10-13 15:10:36 +02:00
Edward Diener
cc8d9218eb Use BOOST_BORLANDC for bcc32 compiler 2020-03-21 22:24:50 -04:00
Lukasz Czajczyk
3db1d41a75 Simplified boolean expression 2019-01-21 16:50:00 -06:00
morinmorin
4157a83c25 Use Boost.Config's BOOST_ATTRIBUTE_UNUSED. 2015-09-11 02:08:43 +09:00
Mathias Gaunard
2d9fc36f5b 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
a8d9b89443 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
3de83675c9 StaticAssert: Remove obsolete MSVC version check.
[SVN r86035]
2013-09-30 00:20:43 +00:00
John Maddock
e127b66f16 Apply patch from #8644.
Refs #8644.

[SVN r84686]
2013-06-08 10:58:41 +00:00
John Maddock
118eb5ee7f 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
c5c902cedc More variadic macro support for msvc and Intel.
[SVN r83444]
2013-03-15 18:21:03 +00:00
John Maddock
7373410f6b Suppress GCC warnings.
[SVN r83104]
2013-02-23 18:26:39 +00:00
John Maddock
b96f21aeb1 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
fa81fc37a4 Removed missed usage of deprecated macros in Boost.StaticAssert
[SVN r81588]
2012-11-27 14:30:10 +00:00
Beman Dawes
fc3b6f5df3 Add BOOST_STATIC_ASSERT_MSG
[SVN r68584]
2011-01-31 15:03:41 +00:00
Beman Dawes
80237a2113 Use BOOST_NO_STATIC_ASSERT
[SVN r59698]
2010-02-16 12:45:53 +00:00
John Maddock
0478338e3e 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
f6c1ca6731 Fix C++0x helper macros
[SVN r37178]
2007-03-14 09:20:38 +00:00
Douglas Gregor
325fec03a2 Preliminary C++0x support
[SVN r36149]
2006-11-22 15:58:39 +00:00
Rene Rivera
c47ccbfaba 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
162e483c40 Improved gcc 3.3 and 3.4 error messages.
[SVN r25413]
2004-09-26 10:24:34 +00:00
Giovanni Bajo
01b5422dd2 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
59004c74c7 Added new licence info.
[SVN r20254]
2003-10-04 11:29:20 +00:00
John Maddock
6532eb2f15 Updated licence
[SVN r20237]
2003-10-01 10:28:17 +00:00
John Maddock
aa130ddb7f Added __COUNTER__ based version for VC7 and later.
[SVN r19043]
2003-07-11 11:01:55 +00:00
Jens Maurer
b8a3b94abd add special version for SGI MIPSpro compiler
[SVN r18173]
2003-04-03 22:33:23 +00:00
Beman Dawes
21c5dcc433 add or update See www.boost.org comments
[SVN r16708]
2002-12-27 16:51:53 +00:00
Aleksey Gurtovoy
9a88554905 Intel C++ fix
[SVN r15351]
2002-09-16 01:19:05 +00:00
John Maddock
82248117e8 Stripped tabs from source
[SVN r12351]
2002-01-19 12:38:14 +00:00
John Maddock
cad0772d55 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
147e68e2e6 Added comment about lack of static_cast
[SVN r10243]
2001-05-30 11:31:15 +00:00
John Maddock
7a76a4a2ce 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
01f661c4e4 add HP aCC workarounds
[SVN r10025]
2001-05-05 20:26:38 +00:00
John Maddock
739db3d0b9 fixed typo
[SVN r9836]
2001-04-19 10:53:11 +00:00
John Maddock
0860281df1 tentative fix for MWCW
[SVN r8914]
2001-02-04 12:59:54 +00:00
John Maddock
53e02dbc92 Static assert initial checkin
[SVN r8381]
2000-12-03 12:29:42 +00:00