Commit f5d93b5
committed
Fix PAX build failure on GCC 8.x (Rocky Linux 8)
1. Remove explicit -Werror=pessimizing-move flag from CMakeLists.txt.
This flag was added in commit e7e07c2 to catch pessimizing-move
warnings on higher GCC versions, but it breaks compilation on GCC 8.x
where this warning option does not exist. The fix is safe because
GCC 9+ enables -Wpessimizing-move by default and the existing -Werror
flag already converts all warnings to errors.
2. Fix fast_io.cc compatibility issues:
- Add missing <unistd.h> include for pread()
- Define uring_likely macro fallback for older liburing versions
See: Issue#1441 <#1441>1 parent e905e58 commit f5d93b5
3 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
| 703 | + | |
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
| |||
0 commit comments