https://d.puremagic.com/issues/show_bug.cgi?id=3882
--- Comment #12 from bearophile_h...@eml.cc 2014-03-01 15:20:21 PST --- (In reply to comment #11) > This pull request adds warnings for unused non-void returns of calls to > strictly pure function calls. Is adding a cast(void) before the function call able to disable this warning? If this is false then perhaps it's worth adding this sub-feature and then I suggest a shorter and more useful warning message like: Warning: Function call to pure function foo() discards return value, prepend a cast(void) if intentional. > For this to work Phobos had to altered in handful > of places were non-void returns were not captured. Some user code will need similar changes... -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------