URL: <https://savannah.gnu.org/bugs/?65448>
Summary: $(intcmp) problems with negative integers Group: make Submitter: bobbogo Submitted: Mon 11 Mar 2024 02:23:24 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.4.1 Operating System: None Fixed Release: None Triage Status: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Mon 11 Mar 2024 02:23:24 PM UTC By: Robert Bogomip <bobbogo> _intcmp_ complains when given non-integer input: $ make --eval '$(error [$(intcmp hello,7,small,same,large)])' make: *** non-numeric first argument to 'intcmp' function: 'hello'. Stop. It is quite happy parsing negative input: $ make --eval '$(error [$(intcmp -8,7,small,same,large)])' make: *** [small]. Stop. But gets this one *wrong*: $ make --eval '$(error [$(intcmp -8,-7,small,same,large)])' make: *** [large]. Stop. Gnu make 4.4.1 on Fedora 39, package make-4.4.1-2.fc39.x86_64 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65448> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/