diff --git a/Makefile b/Makefile index e1d76dca..da19cb8d 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ CFLAGS += -DSRAND endif TESTS = \ - tests/func/test_c99 \ + tests/func/test_c11 \ tests/func/test_container_composing \ tests/func/test_deq \ tests/func/test_lst \ @@ -108,7 +108,7 @@ examples/postfix: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@ examples/json: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@ examples/snow: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@ examples/6502: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@ -tests/func/test_c99: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@ +tests/func/test_c11: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@ tests/func/test_container_composing: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@ tests/func/test_deq: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@ tests/func/test_lst: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@ diff --git a/README.md b/README.md index 5d9c18b4..53840f29 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # C TEMPLATE LIBRARY (CTL) -CTL is a fast compiling, type safe, header only, template-like library for ISO C99. +CTL is a fast compiling, type safe, header only, template-like library for ISO C11. ## Motivation -CTL aims to improve C99 developer productivity by implementing the following -STL containers in ISO C99: +CTL aims to improve C11 developer productivity by implementing the following +STL containers in ISO C11: ``` deq.h = std::deque @@ -74,7 +74,7 @@ type type_copy(type*); Forgetting a declaration will print a human-readable error message: ```shell -tests/test_c99.c:11:11: error: ‘type_free’ undeclared (first use in this function) +tests/test_c11.c:11:11: error: ‘type_free’ undeclared (first use in this function) 11 | #define T type ``` diff --git a/gen_images.sh b/gen_images.sh index 612dc89a..c1fc3bce 100644 --- a/gen_images.sh +++ b/gen_images.sh @@ -110,5 +110,5 @@ perf_graph \ perf_compile_two_bar \ 'compile.log' \ "CTL vs STL Compilation ($CFLAGS) ($VERSION)" \ - 'tests/perf/perf_compile_c99.c' \ + 'tests/perf/perf_compile_c11.c' \ 'tests/perf/perf_compile_cc.cc' diff --git a/images/compile.log.png b/images/compile.log.png index 6f322a8d..cd2fff0f 100644 Binary files a/images/compile.log.png and b/images/compile.log.png differ diff --git a/images/deq.log.png b/images/deq.log.png index 2fb95274..bb99b922 100644 Binary files a/images/deq.log.png and b/images/deq.log.png differ diff --git a/images/lst.log.png b/images/lst.log.png index ca6c115a..75d0fbef 100644 Binary files a/images/lst.log.png and b/images/lst.log.png differ diff --git a/images/pqu.log.png b/images/pqu.log.png index 941cbc9f..39d423c3 100644 Binary files a/images/pqu.log.png and b/images/pqu.log.png differ diff --git a/images/set.log.png b/images/set.log.png index c3a3c280..10c2624f 100644 Binary files a/images/set.log.png and b/images/set.log.png differ diff --git a/images/vec.log.png b/images/vec.log.png index dc2b2c78..419d148d 100644 Binary files a/images/vec.log.png and b/images/vec.log.png differ diff --git a/tests/func/test_c99.c b/tests/func/test_c11.c similarity index 100% rename from tests/func/test_c99.c rename to tests/func/test_c11.c diff --git a/tests/perf/perf_compile_c99.c b/tests/perf/perf_compile_c11.c similarity index 100% rename from tests/perf/perf_compile_c99.c rename to tests/perf/perf_compile_c11.c