Warning re ignored return value

Don Allen donaldcallen at gmail.com
Thu Aug 4 23:39:15 UTC 2022


Is there a way to request that dmd warn about instances where the 
return values of non-void functions are ignored? dmd appears not 
to do that by default and I checked the documentation of the 
command-line options and didn't see it (hopefully I missed it; it 
would be nice to have).

/Don


More information about the Digitalmars-d mailing list