mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-04-30 19:09:26 +08:00
The forward declarations of AST_Node_Trace and eval_error at the top of chaiscript_common.hpp introduced these types as incomplete before the standard library headers were fully processed. On clang/libc++ in C++20 mode, this caused compilation errors because std::vector<AST_Node_Trace> was instantiated while the type was still incomplete. Since the full definitions of both types appear later in the same file (and nothing between the forward declarations and the definitions references them), these forward declarations are unnecessary and removing them prevents the incomplete type issue. Co-authored-by: leftibot <leftibot@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chaiscript_algebraic.hpp | ||
| chaiscript_common.hpp | ||
| chaiscript_engine.hpp | ||
| chaiscript_eval.hpp | ||
| chaiscript_optimizer.hpp | ||
| chaiscript_parser.hpp | ||
| chaiscript_posix.hpp | ||
| chaiscript_prelude_docs.hpp | ||
| chaiscript_prelude.hpp | ||
| chaiscript_tracer.hpp | ||
| chaiscript_unknown.hpp | ||
| chaiscript_windows.hpp | ||