mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +08:00
ChaiScript now successfully builds on my Mac with C++20, and passes 100% of the unit tests.
20 lines
412 B
C++
20 lines
412 B
C++
|
|
#ifndef CHAISCRIPT_NO_THREADS
|
|
#define CHAISCRIPT_NO_THREADS
|
|
#endif
|
|
|
|
/// ChaiScript as a static is unsupported with thread support enabled
|
|
///
|
|
|
|
#if defined(__clang__)
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Wexit-time-destructors"
|
|
#pragma clang diagnostic ignored "-Wglobal-constructors"
|
|
#endif
|
|
|
|
#include <chaiscript/chaiscript.hpp>
|
|
|
|
static chaiscript::ChaiScript chai{};
|
|
|
|
int main() {}
|