Am Fri, 02 May 2014 01:56:49 +0000 schrieb "bearophile" <[email protected]>:
> Temtaime: > > > I think it's need to have -w64(or other name, offers ?) flag > > that warns if code may not compile on other archs. > > It's a problem and I'd like some way to compiler help solving > such problems. > > I suggested this, that was refused (I don't remember who reopened > it): > https://issues.dlang.org/show_bug.cgi?id=5063 > > Bye, > bearophile That would have be me going renegade against a RESOLVED-WONTFIX after I found a library that wouldn't compile on my amd64 because it mixed size_t and uint as if it was the same. Later I found a little flood of bug reports for other libraries as well. Whether a warning or size_t as a distinct type like some other language does, the current situation is the source of statically checkable, avoidable portability bugs. -- Marco
