Join Nostr
2025-06-10 21:13:28 UTC

Erin on Nostr: was wondering about "fixing" -Wfloat-equal warning spam from a function that has ...

was wondering about "fixing" -Wfloat-equal warning spam from a function that has literally hundreds of template expansions (yay enumerations) and is testing to see if a value changes at all (as a trigger) and am honestly kind of relieved to have found quite a bit of "this warning is harmful; == and != aren't at fault, arithmetic is"

I've floated disabling the warning for that line with a pragma to my team, because they Know Better than me still. I need a lot more time with C++ still.