Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-snmp: issue with the #elifdef macro definition in the patches/200-add-pcre2-support.patch #25564

Open
hyw0810 opened this issue Dec 16, 2024 · 1 comment

Comments

@hyw0810
Copy link

hyw0810 commented Dec 16, 2024

Maintainer: Stijn Tintel <[email protected]>

PKG_VERSION:=5.9.4
PKG_RELEASE:=3

Description:
In the patches/200-add-pcre2-support.patch file, lines 214 and 265 define #elifdef HAVE_PCRE_H. Is #elifdef correct and compliant with the C standard? As far as I know, this was introduced in C++23.

https://github.com/openwrt/packages/blame/0d478f650850deaa0c165d20b6b3a34b32af249b/net/net-snmp/patches/200-add-pcre2-support.patch#L214
https://github.com/openwrt/packages/blame/0d478f650850deaa0c165d20b6b3a34b32af249b/net/net-snmp/patches/200-add-pcre2-support.patch#L265C21-L265C21

@Yang-Wei-Ting
Copy link

I just bumped into this too and created a PR #25577

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

No branches or pull requests

2 participants