2
0
mirror of https://github.com/boostorg/config.git synced 2026-01-21 04:42:42 +00:00
Files
config/test/no_cxx23_hdr_stdfloat_pass.cpp
jzmaddock cbeca533d2 Merge for 1 84 (#490)
* Update cxxstd values for GHA msvc jobs

* Add msvc support for [[maybe_unused]] attribute.
Fixes: https://github.com/boostorg/serialization/issues/271

Also removes failing cuda+clang test as it's an inscrutable system setup issue.

* Add C++23 header macros.

* Minor corrections.

* Remove XCode-9.4 testing as it appears to be no longer supported.

* Update docs for C++23 macros.
[CI SKIP]

* Add C++23 feature test macro support.

* Use __apple_build_version__ to detect Apple clang

…since __APPLE__ is defined by both Apple Clang and LLVM.org Clang
on Apple platforms.

* Update BOOST_CLANG_VERSION for Xcode 14.3, 15.0, 15.1

* Update CI clang version now that gcc has changed. (#489)

---------

Co-authored-by: Peter Dimov <pdimov@gmail.com>
Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
2023-11-04 09:27:38 +00:00

38 lines
1.0 KiB
C++

// This file was automatically generated on Sat Sep 9 19:03:28 2023
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-21.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/config for the most recent version.//
// Revision $Id$
//
// Test file for macro BOOST_NO_CXX23_HDR_STDFLOAT
// This file should compile, if it does not then
// BOOST_NO_CXX23_HDR_STDFLOAT should be defined.
// See file boost_no_cxx23_hdr_stdfloat.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_CXX23_HDR_STDFLOAT
#include "boost_no_cxx23_hdr_stdfloat.ipp"
#else
namespace boost_no_cxx23_hdr_stdfloat = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_cxx23_hdr_stdfloat::test();
}