-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added cpp_coroutine & cpp_concepts checks.
- Loading branch information
1 parent
54afd34
commit 99b0e51
Showing
4 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// This file was automatically generated on Tue Oct 17 18:26:45 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$ | ||
// | ||
|
||
#ifdef __has_include | ||
#if __has_include(<version>) | ||
#include <version> | ||
#endif | ||
#endif | ||
|
||
#ifndef __cpp_concepts | ||
#error "Macro << __cpp_concepts is not set" | ||
#endif | ||
|
||
#if __cpp_concepts < 201907 | ||
#error "Macro __cpp_concepts had too low a value" | ||
#endif | ||
|
||
int main( int, char *[] ) | ||
{ | ||
return 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// This file was automatically generated on Tue Oct 17 18:26:45 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$ | ||
// | ||
|
||
#ifdef __has_include | ||
#if __has_include(<version>) | ||
#include <version> | ||
#endif | ||
#endif | ||
|
||
#include <coroutine> | ||
|
||
#ifndef __cpp_lib_coroutine | ||
#error "Macro << __cpp_lib_coroutine is not set" | ||
#endif | ||
|
||
#if __cpp_lib_coroutine < 201902 | ||
#error "Macro __cpp_lib_coroutine had too low a value" | ||
#endif | ||
|
||
int main( int, char *[] ) | ||
{ | ||
return 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters