Re: [PATCH v1 0/1] Add error message to cmp_* and in_range.

2025-05-27 Thread Luc Grosheintz
On 5/27/25 14:34, Jonathan Wakely wrote: On Tue, 27 May 2025 at 07:51, Luc Grosheintz wrote: While reading the compiler output of make check-target-libstdc++-v3 for buggy code, e.g. cmp_equal(1.0, 1.0), the error message was very short, and I saw no hint that neither of the two templ

Re: [PATCH v1 0/1] Add error message to cmp_* and in_range.

2025-05-27 Thread Jonathan Wakely
On Tue, 27 May 2025 at 07:51, Luc Grosheintz wrote: > > While reading the compiler output of > > make check-target-libstdc++-v3 > > for buggy code, e.g. cmp_equal(1.0, 1.0), the error message > was very short, and I saw no hint that neither of the two > template arguments weren't integers. Ess

[PATCH v1 0/1] Add error message to cmp_* and in_range.

2025-05-26 Thread Luc Grosheintz
While reading the compiler output of make check-target-libstdc++-v3 for buggy code, e.g. cmp_equal(1.0, 1.0), the error message was very short, and I saw no hint that neither of the two template arguments weren't integers. Essentially, the trace was: 1. my faulty line 2. required from he