Commit 134961a
committed
Fix build with GCC 15+ and DPDK 25.11+
GCC 15 introduces __STDC_EMBED_EMPTY__, __STDC_EMBED_FOUND__, and
__STDC_EMBED_NOT_FOUND__ as built-in macros (C23 #embed). These are
dumped into filtered_predefined_macros.h by kern.pre.mk but not
filtered, causing -Werror redefinition errors. Add them to
IMACROS_FILTER.
DPDK 25.11 marks rte_eth_link_get_nowait() with warn_unused_result.
Check the return value in check_all_ports_link_status() to fix the
-Werror build failure.1 parent 81919cd commit 134961a
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments