-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathfeatures_c99.yaml
More file actions
249 lines (249 loc) · 6.25 KB
/
Copy pathfeatures_c99.yaml
File metadata and controls
249 lines (249 loc) · 6.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
---
features:
- desc: "Universal-character-names in [identifiers](https://cppreference.com/c/language/identifiers)"
summary: "Non-basic characters in identifiers via universal-character-names."
support:
- GCC 3.1
- Clang
- MSVC
- Xcode
content: c-universal-character-names.md
- desc: "Increased [translation limits](https://cppreference.com/c/language/identifiers#Translation_limits)"
summary: "Raised minimum translation limits for portable programs."
paper: N590
support:
- GCC
- Clang
- Xcode
- owcc
- TinyCC
content: c-translation-limits.md
- desc: "`//` comments"
paper: N644
content: c-line-comments.md
support:
- GCC
- Clang
- MSVC
- Xcode
- owcc
- TinyCC
- desc: "`restrict` pointers"
paper: N448
content: c-restrict.md
support:
- GCC
- Clang
- MSVC (partial)
- Xcode 13
- owcc (partial)
- TinyCC
hints:
- target: MSVC
msg: "Requires /std:c11 or later."
- target: owcc
msg: "`parsed with -zastd=c99 (for wcc*), but does not change the code."
- desc: "Enhanced [arithmetic types](https://cppreference.com/c/language/arithmetic_types)"
paper:
- N815
- N601
- N620
- N638
- N657
- N694
- N809
support:
- GCC
- Clang (partial)
- Xcode (partial)
- desc: "Flexible array members"
content: c-flexible-array.md
support:
- GCC 3
- Clang
- Xcode
- owcc
- TinyCC
- desc: "[Variable-length array](https://cppreference.com/c/language/array#Variable-length_arrays) (VLA) types"
paper: N683
content: c-vla.md
support:
- GCC
- Clang
- Xcode 14
- TinyCC
- desc: "[Variably-modified](https://cppreference.com/c/language/array#Variable-length_arrays) (VM) types"
paper: N683
content: c-vm-types.md
support:
- GCC
- Clang
- Xcode
- TinyCC 0.9.28
- desc: "Designated initializers"
paper: N494
content: c-designated-init.md
support:
- GCC 3
- Clang
- MSVC
- Xcode 14
- owcc 1.4
- desc: "Non-constant initializers"
summary: "Non-constant initializers for block-scope aggregates."
support:
- GCC
- owcc (partial)
hints:
- target: owcc
msg: "Requires -aa for wcc*."
content: c-non-constant-initializers.md
- desc: "Idempotent cvr-qualifiers"
summary: "Repeated cvr-qualifiers on a type are idempotent."
paper: N505
support:
- GCC 3
- Clang
- Xcode
content: c-idempotent-qualifiers.md
- desc: "Trailing comma in _enumerator-list_"
summary: "A comma is allowed after the last enumerator."
support:
- GCC
- Clang
- MSVC
- Xcode
- owcc
- TinyCC
content: c-enum-trailing-comma.md
- desc: "Hexadecimal [floating constants](https://cppreference.com/c/language/floating_constant)"
paper: N308
content: c-hex-float.md
support:
- GCC 2.8
- Clang
- MSVC
- Xcode
- owcc
- TinyCC
- desc: "[Compound literals](https://cppreference.com/c/language/compound_literal)"
paper: N716
content: c-compound-literals.md
support:
- GCC 3.1
- Clang
- MSVC
- Xcode 14
- desc: "Floating-point environment"
summary: "Runtime access to the floating-point environment."
support:
- GCC (partial)
- Clang (partial)
- Xcode 14 (partial)
content: c-fenv.md
- desc: "Requiring truncation for divisions of signed integer types"
summary: "Signed integer division must truncate toward zero."
paper: N617
support:
- GCC
- Clang
- Xcode
content: c-integer-division-truncation.md
- desc: "Implicit `return 0;` in the [`main()` function](https://cppreference.com/c/language/main_function)"
summary: "Reaching the end of `main` returns zero implicitly."
support:
- GCC
- Clang
- MSVC
- Xcode
- owcc 1.5
- TinyCC
content: c-implicit-return-main.md
- desc: "Declarations and statements in mixed order"
summary: "Declarations and statements may interleave within a block."
paper: N740
support:
- GCC 3
- Clang
- MSVC
- Xcode 14
- owcc
- TinyCC
content: c-mixed-declarations.md
- desc: "_init-statement_ in `for` loops"
summary: "Declaring loop counters in a `for` statement's init clause."
support:
- GCC
- Clang
- MSVC
- Xcode
- owcc
- TinyCC
content: c-for-loop-declarations.md
- desc: "`inline` functions"
paper: N741
content: c-inline.md
support:
- GCC 4.3
- Clang
- MSVC
- Xcode 14
- owcc 1.3
- TinyCC
- desc: "Predefined variable `__func__`"
paper: N611
content: c-func.md
support:
- GCC 3
- Clang
- MSVC
- Xcode 14
- owcc 1.2
- TinyCC
- desc: "Cvr-qualifiers and `static` in `[]` within function declarations"
summary: "Qualifiers and `static` array sizes in function parameters."
support:
- GCC 3.1
- Clang
- Xcode
content: c-array-parameter-qualifiers.md
- desc: "[Variadic macros](https://cppreference.com/c/preprocessor/replace)"
paper: N707
content: c-variadic-macros.md
support:
- GCC 3
- Clang
- MSVC
- Xcode 14
- owcc
- TinyCC
- desc: "`_Pragma` preprocessor operator"
summary: "Emits a pragma from within a macro expansion."
paper: N634
support:
- GCC 3
- Clang
- MSVC (partial)
- Xcode 14
- owcc
hints:
- target: MSVC
msg: "Requires /std:c11 or later."
content: c-pragma-operator.md
- desc: "Standard pragmas for floating-point evaluation"
summary: "Standard `STDC` pragmas controlling floating-point code generation."
paper:
- N631
- N696
support:
- Clang (partial)
- Xcode (partial)
- owcc (partial)
hints:
- target: Clang
msg: "`STDC FENV_ACCESS ON` is not supported."
- target: Xcode
msg: "`STDC FENV_ACCESS ON` is not supported."
- target: owcc
msg: "`parsed, but does not change the code."
content: c-fp-pragmas.md