Skip to content

Commit 332c562

Browse files
committed
c11 update
1 parent 11965c7 commit 332c562

11 files changed

+7
-7
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ CFLAGS += -DSRAND
5555
endif
5656

5757
TESTS = \
58-
tests/func/test_c99 \
58+
tests/func/test_c11 \
5959
tests/func/test_container_composing \
6060
tests/func/test_deq \
6161
tests/func/test_lst \
@@ -108,7 +108,7 @@ examples/postfix: ALWAYS; $(CC) $(CFLAGS) [email protected] -o $@
108108
examples/json: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
109109
examples/snow: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
110110
examples/6502: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
111-
tests/func/test_c99: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
111+
tests/func/test_c11: ALWAYS; $(CC) $(CFLAGS) $@.c -o $@
112112
tests/func/test_container_composing: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@
113113
tests/func/test_deq: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@
114114
tests/func/test_lst: ALWAYS; $(CXX) $(CFLAGS) $@.cc -o $@

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# C TEMPLATE LIBRARY (CTL)
22

3-
CTL is a fast compiling, type safe, header only, template-like library for ISO C99.
3+
CTL is a fast compiling, type safe, header only, template-like library for ISO C11.
44

55
## Motivation
66

7-
CTL aims to improve C99 developer productivity by implementing the following
8-
STL containers in ISO C99:
7+
CTL aims to improve C11 developer productivity by implementing the following
8+
STL containers in ISO C11:
99

1010
```
1111
deq.h = std::deque
@@ -74,7 +74,7 @@ type type_copy(type*);
7474
Forgetting a declaration will print a human-readable error message:
7575
7676
```shell
77-
tests/test_c99.c:11:11: error: ‘type_free’ undeclared (first use in this function)
77+
tests/test_c11.c:11:11: error: ‘type_free’ undeclared (first use in this function)
7878
11 | #define T type
7979
```
8080

gen_images.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,5 @@ perf_graph \
110110
perf_compile_two_bar \
111111
'compile.log' \
112112
"CTL vs STL Compilation ($CFLAGS) ($VERSION)" \
113-
'tests/perf/perf_compile_c99.c' \
113+
'tests/perf/perf_compile_c11.c' \
114114
'tests/perf/perf_compile_cc.cc'

images/compile.log.png

-109 Bytes
Loading

images/deq.log.png

5.08 KB
Loading

images/lst.log.png

4.16 KB
Loading

images/pqu.log.png

9.92 KB
Loading

images/set.log.png

959 Bytes
Loading

images/vec.log.png

-2.16 KB
Loading
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)