-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fails to compile with gcc 10.2.1: error: comparison is always true due to limited range of data type #166
Comments
Ah, I see you're building with |
Hmm, or just drop the first condition of the IF clause to maintain the original intent? if (iface->vif < ALL_VIFS) |
What original intent? I rewrote that whole file this summer :-) |
I just meant using the smaller than operator matches more accurately what values of vif are valid than the not equal operator. So, the original intent certainly was to be as accurate as possible. ;) |
Fixed, you can backport it if you like. I don't plan to do another patch release in a while. Also, heads-up: I've added a lot of new features, e.g. native /etc/smcroute.d support. Iirc there's something in Debian today that has a local implementation of the same? |
Ok, thanks for the lightning fast fix and the hint. I'll take a look sooner or later. |
When trying to package smcroute 2.5.2 for Debian unstable, it failed to compile
The text was updated successfully, but these errors were encountered: