Commit d593f6c
authored
This reverts commit a3a7d63.
When compiling with MSVC2022 in C++32 mode this is giving an error.
Compiling this simple test case:
t1.cpp:
with -std=c++23 will give the following error:
In file included from C:\Users\zahiraam\t1.cpp:1:
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3329:16:
error:
compile with '-ffixed-point' to enable fixed point types
3329 | _Vbase _Accum = 0;
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3329:23:
error:
expected unqualified-id
3329 | _Vbase _Accum = 0;
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3334:13:
error:
compile with '-ffixed-point' to enable fixed point types
3334 | _Accum |= _Tmp ? _Mask : _Vbase{0};
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3334:20:
error:
expected unqualified-id
3334 | _Accum |= _Tmp ? _Mask : _Vbase{0};
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3336:53:
error:
expected '(' for function-style cast or type construction
3336 | this->_Emplace_back_unchecked(_Accum);
| ~~~~~~^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3337:17:
error:
compile with '-ffixed-point' to enable fixed point types
3337 | _Accum = 0;
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3337:24:
error:
expected unqualified-id
3337 | _Accum = 0;
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3343:49:
error:
expected '(' for function-style cast or type construction
3343 | this->_Emplace_back_unchecked(_Accum);
| ~~~~~~^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3352:16:
error:
compile with '-ffixed-point' to enable fixed point types
3352 | _Vbase _Accum = 0;
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3352:26:
error:
expected unqualified-id
3352 | _Vbase _Accum = 0;
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3357:13:
error:
compile with '-ffixed-point' to enable fixed point types
3357 | _Accum |= _Tmp ? _Mask : _Vbase{0};
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3357:20:
error:
expected unqualified-id
3357 | _Accum |= _Tmp ? _Mask : _Vbase{0};
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3359:46:
error:
expected '(' for function-style cast or type construction
3359 | this->_Myvec.push_back(_Accum);
| ~~~~~~^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3360:17:
error:
compile with '-ffixed-point' to enable fixed point types
3360 | _Accum = 0;
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3360:24:
error:
expected unqualified-id
3360 | _Accum = 0;
| ^
c:\Program files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\vector:3366:42:
error:
expected '(' for function-style cast or type construction
3366 | this->_Myvec.push_back(_Accum);
| ~~~~~~^
16 errors generated.
See also comment here:
#67750 (comment)
1 parent 77c2b62 commit d593f6c
8 files changed
Lines changed: 17 additions & 140 deletions
File tree
- clang
- include/clang
- Basic
- Driver
- lib
- AST
- Parse
- test
- CodeGenCXX
- Frontend
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
427 | | - | |
428 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2101 | 2101 | | |
2102 | 2102 | | |
2103 | 2103 | | |
2104 | | - | |
| 2104 | + | |
2105 | 2105 | | |
2106 | 2106 | | |
2107 | 2107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3050 | 3050 | | |
3051 | 3051 | | |
3052 | 3052 | | |
3053 | | - | |
| 3053 | + | |
| 3054 | + | |
3054 | 3055 | | |
3055 | 3056 | | |
3056 | 3057 | | |
3057 | | - | |
3058 | | - | |
3059 | 3058 | | |
3060 | | - | |
3061 | | - | |
3062 | | - | |
3063 | | - | |
3064 | | - | |
3065 | | - | |
3066 | | - | |
3067 | | - | |
3068 | 3059 | | |
3069 | 3060 | | |
3070 | 3061 | | |
| |||
3209 | 3200 | | |
3210 | 3201 | | |
3211 | 3202 | | |
3212 | | - | |
3213 | | - | |
3214 | 3203 | | |
3215 | | - | |
3216 | | - | |
3217 | 3204 | | |
3218 | | - | |
3219 | | - | |
3220 | 3205 | | |
3221 | | - | |
3222 | | - | |
3223 | 3206 | | |
3224 | | - | |
3225 | | - | |
3226 | 3207 | | |
3227 | | - | |
3228 | | - | |
3229 | 3208 | | |
3230 | | - | |
3231 | | - | |
3232 | 3209 | | |
3233 | | - | |
3234 | | - | |
3235 | 3210 | | |
3236 | | - | |
3237 | | - | |
3238 | 3211 | | |
3239 | | - | |
3240 | | - | |
3241 | 3212 | | |
3242 | | - | |
3243 | | - | |
3244 | 3213 | | |
3245 | | - | |
3246 | | - | |
3247 | 3214 | | |
3248 | | - | |
3249 | | - | |
3250 | 3215 | | |
3251 | | - | |
3252 | | - | |
3253 | 3216 | | |
3254 | | - | |
3255 | | - | |
3256 | 3217 | | |
3257 | | - | |
3258 | | - | |
3259 | 3218 | | |
3260 | | - | |
3261 | | - | |
3262 | 3219 | | |
3263 | | - | |
3264 | | - | |
3265 | 3220 | | |
3266 | | - | |
3267 | | - | |
3268 | 3221 | | |
3269 | | - | |
3270 | | - | |
3271 | 3222 | | |
3272 | | - | |
3273 | | - | |
3274 | 3223 | | |
3275 | | - | |
3276 | | - | |
3277 | 3224 | | |
3278 | | - | |
3279 | | - | |
3280 | 3225 | | |
3281 | | - | |
3282 | | - | |
| 3226 | + | |
3283 | 3227 | | |
3284 | 3228 | | |
3285 | 3229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1574 | 1574 | | |
1575 | 1575 | | |
1576 | 1576 | | |
1577 | | - | |
1578 | | - | |
1579 | | - | |
1580 | 1577 | | |
1581 | 1578 | | |
1582 | 1579 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2354 | 2354 | | |
2355 | 2355 | | |
2356 | 2356 | | |
2357 | | - | |
2358 | | - | |
2359 | | - | |
2360 | | - | |
2361 | | - | |
2362 | | - | |
2363 | | - | |
2364 | | - | |
2365 | | - | |
2366 | 2357 | | |
2367 | 2358 | | |
2368 | 2359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1775 | 1775 | | |
1776 | 1776 | | |
1777 | 1777 | | |
1778 | | - | |
1779 | | - | |
1780 | | - | |
1781 | 1778 | | |
1782 | 1779 | | |
1783 | 1780 | | |
| |||
1897 | 1894 | | |
1898 | 1895 | | |
1899 | 1896 | | |
1900 | | - | |
1901 | | - | |
1902 | | - | |
1903 | 1897 | | |
1904 | 1898 | | |
1905 | 1899 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 13 | + | |
| 14 | + | |
0 commit comments