From 20e6b555c7486cb4af1f6aa461a617a9a3b53ba6 Mon Sep 17 00:00:00 2001 From: qieguo Date: Mon, 23 Mar 2026 23:36:42 +0800 Subject: [PATCH 1/2] feat: use c++17 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 774db91..1fb5fe9 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ COMPILER := -c++ #COMPILER := -clang++ OPTIMIZATION_OPT := -O2 -DNDEBUG -BASE_OPTIONS := -pedantic-errors -Wall -Wextra -Werror -Wno-long-long +BASE_OPTIONS := -std=c++17 -pedantic-errors -Wall -Wextra -Werror -Wno-long-long OPTIONS := $(BASE_OPTIONS) $(OPTIMIZATION_OPT) LINKER_OPT := -L/usr/lib -lstdc++ -lm # Suppress GCC var-tracking notes on very large template functions (e.g. run_test02). From 182831f9db87b04a32a80923ead26b09ed58268e Mon Sep 17 00:00:00 2001 From: qieguo Date: Tue, 24 Mar 2026 07:33:05 +0800 Subject: [PATCH 2/2] update readme --- README.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/README.md b/README.md index 8db2552..5beaf67 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,3 @@ A C++ Mathematical Expression Toolkit Library based on https://github.com/ArashP 1. Split the original single header into modular files for easier iteration, with a merge script to generate a single hpp output 2. Added AST node arena allocator to improve memory efficiency -## Development Commands - -- Build all examples and test binaries: `make` -- Build one target from `example/` or `test/`: `make ` - - Example: `make exprtk_test` - - Example: `make exprtk_simple_example_01` -- Run the main test binary after building it: `./bin/exprtk_test` -- Run the benchmark binary: `make exprtk_benchmark && ./bin/exprtk_benchmark` -- Strip built binaries: `make strip_bin` -- Run valgrind over all existing built binaries: `make valgrind` -- Build benchmark with PGO flow: `make pgo` -- Regenerate the merged single-header distribution after changing files in `src/`: `make build` -- Clean generated artifacts: `make clean`