[Bug 298193] sbin/ipfw/ipfw2.c: fails to compile with -Wtype-limits (gcc14)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Sep 2026 21:23:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298193
Bug ID: 298193
Summary: sbin/ipfw/ipfw2.c: fails to compile with -Wtype-limits
(gcc14)
Product: Base System
Version: 14.5-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: ngie@FreeBSD.org
This is blocking the gcc14 job from completing cleanly:
```
/workspace/src/sbin/ipfw/ipfw2.c:5886:23: error: comparison of unsigned
expression in '>= 0' is always true [-Werror=type-limits]
5886 | for (i = 4; i >= 0; i--) {
| ^~
```
91489043435f1f98a03d1cd5138a6ce37408e92f will address the issue, but isn't a
clean MFC.
--
You are receiving this mail because:
You are the assignee for the bug.