Commit c49e4af
Jianchun Xu
fix a pal build issue on my machine
Not sure why it does not repro in CI. Maybe my system is updated?
finite.cpp includes "pal_internal.h -> pal.h" and has "wchar_t" defined.
finite.cpp then includes "math.h -> cmath -> bits/cpp_type_traits.h".
This results in error, _is_integer<> specialization duplicated on
"__wchar_16_cpp__ (expanded from wchar_t, and typedef to char16_t)"
and "char16_t".
Temporarily applied a local fix in finite.cpp.1 parent 4c9b2e2 commit c49e4af
1 file changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| |||
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
101 | | - | |
102 | | - | |
| 109 | + | |
| 110 | + | |
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
| |||
246 | 254 | | |
247 | 255 | | |
248 | 256 | | |
249 | | - | |
| 257 | + | |
250 | 258 | | |
251 | 259 | | |
252 | 260 | | |
| |||
274 | 282 | | |
275 | 283 | | |
276 | 284 | | |
277 | | - | |
278 | | - | |
| 285 | + | |
| 286 | + | |
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
| |||
0 commit comments