Commit 69305b9
[native] Build for Gcc14 (prestodb#25861)
Summary:
Fix to support GCC14 build
- Replace `{}` with explicit empty container to avoid the following error within optionals.
error: converting to 'std::in_place_t' from list would use explicit contructor
`{}` leads to copy initialization which is not allowed since in_place_t is marked explicit
- Add Import `chrono` in `Duration.h` as gcc14 mandates having it
- Correct include directory path for proxygen
- Ignore errors associated with template-id-cdtor as gcc14 fails build for constructors having template support
Rollback Plan:
```
== NO RELEASE NOTE ==
```
Differential Revision: D80784416
Pulled By: pratikpugalia1 parent 8cacb64 commit 69305b9
4 files changed
Lines changed: 10 additions & 3 deletions
File tree
- presto-native-execution
- presto_cpp
- main/operators/tests
- presto_protocol/core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
226 | | - | |
| 232 | + | |
227 | 233 | | |
228 | 234 | | |
229 | 235 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
1048 | | - | |
| 1048 | + | |
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments