aboutsummaryrefslogtreecommitdiff
path: root/nix/boost/assert.hpp
blob: 754ebb954bce0b0e7474681f38d871d74eb18323 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
//  boost/assert.hpp - BOOST_ASSERT(expr)
//
//  Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd.
//
//  Permission to copy, use, modify, sell and distribute this software
//  is granted provided this copyright notice appears in all copies.
//  This software is provided "as is" without express or implied
//  warranty, and with no claim as to its suitability for any purpose.
//
//  Note: There are no include guards. This is intentional.
//
//  See http://www.boost.org/libs/utility/assert.html for documentation.
//

#undef BOOST_ASSERT

#if defined(BOOST_DISABLE_ASSERTS)

# define BOOST_ASSERT(expr) ((void)0)

#elif defined(BOOST_ENABLE_ASSERT_HANDLER)

#include <boost/current_function.hpp>

namespace boost
{

void assertion_failed(char const * expr, char const * function, char const * file, long line); // user defined

} // namespace boost

#define BOOST_ASSERT(expr) ((expr)? ((void)0): ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))

#else
# include <assert.h>
# define BOOST_ASSERT(expr) assert(expr)
#endif
26aea586f35'>gnu: meson: Update to 0.46.1....* gnu/packages/build-tools.scm (meson): Update to 0.46.1. Marius Bakke 2018-05-31gnu: bear: Fix python path....* gnu/packages/build-tools.scm (bear) [inputs]: Add python-wrapper. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Fis Trivial 2018-04-30gnu: meson: Update to 0.46.0....* gnu/packages/build-tools.scm (meson): Update to 0.46.0. * gnu/packages/patches/meson-for-build-rpath.patch: Adapt. Marius Bakke 2018-04-25Merge branch 'master' into stagingMarius Bakke 2018-04-21gnu: Add osc.... * gnu/packages/build-tools.scm (osc): New variable. Tomáš Čech 2018-04-16Merge branch 'master' into stagingMarius Bakke 2018-04-08gnu: Add bear....* gnu/packages/build-tools.scm (bear): New public variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Fis Trivial 2018-03-22gnu: meson: Update to 0.45.1....* gnu/packages/build-tools.scm (meson): Update to 0.45.1. Marius Bakke 2018-03-18Merge branch 'master' into stagingMarius Bakke 2018-03-17gnu: Fix common unquote typos....It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works). Fix such typos for the proper edification of our young. * gnu/packages/android.scm: Move unquotes to their operands. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/build-tools.scm: Likewise. * gnu/packages/chemistry.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/connman.scm: Likewise. * gnu/packages/django.scm: Likewise. * gnu/packages/emulators.scm: Likewise. * gnu/packages/engineering.scm: Likewise. * gnu/packages/file-systems.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/gimp.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnome.scm: Likewise. * gnu/packages/graphics.scm: Likewise. * gnu/packages/haskell.scm: Likewise. * gnu/packages/irc.scm: Likewise. * gnu/packages/julia.scm: Likewise. * gnu/packages/kde-frameworks.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lua.scm: Likewise. * gnu/packages/mail.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * gnu/packages/messaging.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/ocaml.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/python-web.scm: Likewise. * gnu/packages/qt.scm: Likewise. * gnu/packages/ratpoison.scm: Likewise. * gnu/packages/sdl.scm: Likewise. * gnu/packages/sml.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/text-editors.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/virtualization.scm: Likewise. * gnu/packages/vulkan.scm: Likewise. * gnu/packages/wget.scm: Likewise. * gnu/packages/wine.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. * gnu/packages/xorg.scm: Likewise. Tobias Geerinckx-Rice 2018-03-12gnu: meson: Update to 0.45.0....* gnu/packages/build-tools.scm (meson): Update to 0.45.0. [arguments]: Explicitly disable tests (they were skipped before). Marius Bakke 2018-03-12gnu: meson-for-build: Update to 0.44.0....* gnu/packages/build-tools.scm (meson-for-build)[version]: Remove field. [source]: Inherit from MESON. Marius Bakke 2018-03-12gnu: meson: Don't wrap the meson executable....* gnu/packages/build-tools.scm (meson)[arguments]: Delete WRAP-PHASE. Marius Bakke 2018-03-07gnu: meson: Mark up description....* gnu/packages/build-tools.scm (meson)[description]: Use @dfn. Tobias Geerinckx-Rice 2017-12-12gnu: meson: Update to 0.44.0....* gnu/packages/build-tools.scm (meson): Update to 0.44.0 Tobias Geerinckx-Rice 2017-10-13gnu: meson: Update to 0.43.0....* gnu/packages/build-tools.scm (meson): Update to 0.43.0. Ricardo Wurmus 2017-10-09gnu: meson: Update to 0.42.1....* gnu/packages/build-tools.scm (meson, meson-for-build): Update to 0.42.1. Tobias Geerinckx-Rice 2017-09-16gnu: Add meson-for-build....* gnu/packages/build-tools.scm (meson-for-build): New variable. * gnu/packages/patches/meson-for-build-rpath.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Peter Mikkelsen 2017-09-16gnu: meson: Update to 0.42.0....* gnu/packages/build-tools.scm (meson): Update to 0.42.0. [propagated-inputs]: Add python. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Peter Mikkelsen 2017-07-20gnu: Add premake4....* gnu/packages/build-tools.scm (premake4): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Oleg Pykhalov 2017-07-19gnu: meson: Update to 0.41.1....* gnu/packages/build-tools.scm (meson) Update to 0.41.1. Tobias Geerinckx-Rice 2017-05-07gnu: meson: Update to 0.40.1....* gnu/packages/build-tools.scm (meson): Update to 0.40.1. Tobias Geerinckx-Rice 2017-04-20gnu: Add Meson....* gnu/packages/build-tools.scm (meson): New variables. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Corentin Bocquillon 2017-04-13gnu: Add bam....* gnu/packages/build-tools.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Ricardo Wurmus