Skip to content

Comments

libutp: Deactivate -Werror#28612

Merged
dangowrt merged 1 commit intoopenwrt:masterfrom
hauke:libutp-build
Feb 21, 2026
Merged

libutp: Deactivate -Werror#28612
dangowrt merged 1 commit intoopenwrt:masterfrom
hauke:libutp-build

Conversation

@hauke
Copy link
Member

@hauke hauke commented Feb 21, 2026

With fortify sources libutp fails to compile because the fortify sources for musl use the GNU extension include_next. Do not fail when the compiler issues a warning.

Fixes the following compile error:

In file included from libutp-2023.02.14~c95738b1/utp_utils.cpp:23:
/include/fortify/stdlib.h:22:2: error: #include_next is a GCC extension [-Werror]
   22 | #include_next <stdlib.h>
      |  ^~~~~~~~~~~~

📦 Package Details

Maintainer: @dangowrt

Description:


🧪 Run Testing Details

  • OpenWrt Version: No
  • OpenWrt Target/Subtarget: No
  • OpenWrt Device: No

✅ Formalities

  • [ X ] I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

With fortify sources libutp fails to compile because the fortify sources
for musl use the GNU extension include_next. Do not fail when the
compiler issues a warning.

Fixes the following compile error:
```
In file included from libutp-2023.02.14~c95738b1/utp_utils.cpp:23:
/include/fortify/stdlib.h:22:2: error: #include_next is a GCC extension [-Werror]
   22 | #include_next <stdlib.h>
      |  ^~~~~~~~~~~~
```

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
@dangowrt dangowrt merged commit 0814aba into openwrt:master Feb 21, 2026
12 checks passed
@dangowrt
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants