aboutsummaryrefslogtreecommitdiff
//
//  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
udovic Courtès 2020-10-12tests: Mark the channel-instances->manifest as expected to fail....Maxim Cournoyer 2020-07-25Use 'formatted-message' instead of '&message' where appropriate....Ludovic Courtès 2020-07-25utils: Move <location> and '&error-location' to (guix diagnostics)....Ludovic Courtès 2020-07-01channels: Dependencies listed in '.guix-channel' can have an introduction....Ludovic Courtès 2020-07-01channels: Properly diagnose test failure....Ludovic Courtès 2020-07-01channels: Make channel introductions public....Ludovic Courtès 2020-06-28channels: Error out when the 'guix' channel lacks an introduction....Ludovic Courtès 2020-06-25channels: Fix test for introductory commit signer....Ludovic Courtès 2020-06-16channels: Make 'validate-pull' call right after clone/pull....Ludovic Courtès 2020-06-16channels: 'latest-channel-instance' authenticates Git checkouts....Ludovic Courtès 2020-05-25channels: 'latest-channel-instances' guards against non-forward updates....Ludovic Courtès 2020-05-25git: 'update-cached-checkout' returns the commit relation....Ludovic Courtès 2020-05-07channels: Add mechanism to patch checkouts of the 'guix channel....Ludovic Courtès 2019-09-23channels: Allow news entries to refer to a tag....Ludovic Courtès 2019-09-23channels: Add support for a news file....Ludovic Courtès 2019-07-19channels: Always provide a <channel-metadata> record....Ludovic Courtès 2019-07-19channels: Strictly check the version of '.guix-channel'....Ludovic Courtès 2019-01-20inferior: 'gexp->derivation-in-inferior' honors EXP's load path....Ludovic Courtès 2019-01-20channels: Don't pull from the same channel more than once....Ludovic Courtès 2018-12-09guix: Add support for channel dependencies....Ricardo Wurmus