Always false float comparisons

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue May 10 14:43:30 PDT 2016


On 5/9/2016 8:00 PM, Xinok wrote:
> Maybe it's a bad idea to enable these warnings by default but what's wrong with
> providing a compiler flag to perform these checks anyways? For example, GCC has
> a compiler flag to yield warnings for signed+unsigned comparisons but it's not
> even enabled with the -Wall flag, only by specifying -Wextra or -Wsign-compare.

Warnings balkanize the language into endless dialects.


More information about the Digitalmars-d mailing list