A strange div bug on Linux x86_64, (both dmd & ldc2): long -5000 / size_t 2 = 9223372036854773308

Walter Bright newshound2 at digitalmars.com
Thu Aug 13 23:50:08 UTC 2020


On 8/13/2020 4:33 PM, James Blachly wrote:
> Especially in cases like this, compiler warnings would be helpful.

Warnings are inherently problematic, as the poor user is always faced with "is 
this a real problem or not?" I've been very resistant to adding warnings in the 
past because it balkanizes the language into dialects.

The core language should decide what's an error and what isn't.


More information about the Digitalmars-d mailing list