From aa3f6e0a8109ab4cc759b23c9feccff9cee4e876 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 24 Apr 2024 01:07:55 +0200 Subject: fn-wrapper: initial version of macro magic --- content/2024-04-24-fn-wrapper-macro-magic/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 content/2024-04-24-fn-wrapper-macro-magic/Makefile (limited to 'content/2024-04-24-fn-wrapper-macro-magic/Makefile') diff --git a/content/2024-04-24-fn-wrapper-macro-magic/Makefile b/content/2024-04-24-fn-wrapper-macro-magic/Makefile new file mode 100644 index 0000000..2347615 --- /dev/null +++ b/content/2024-04-24-fn-wrapper-macro-magic/Makefile @@ -0,0 +1,11 @@ +check: + g++ -fsyntax-only wrap-v1.cc + g++ -fsyntax-only wrap-v2.cc + g++ -fsyntax-only wrap-v3.cc + g++ -fsyntax-only wrap-v4.cc + +cpp: + g++ -E wrap-v1.cc | clang-format + g++ -E wrap-v2.cc | clang-format + g++ -E wrap-v3.cc | clang-format + g++ -E wrap-v4.cc | clang-format -- cgit v1.2.3