DMD git HEAD not compilable on gcc 6.1
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 10 14:35:00 PDT 2016
On Wednesday, 10 August 2016 at 21:19:14 UTC, H. S. Teoh wrote:
> Is there a more reliable way to detect gcc-based compilers
> other than string-matching of --version? Perhaps a small
> utility program that uses #ifdef __GNUC__ as a far more
> reliable compiler detection method?
it is not more reliable. other compilers may define that if they
are trying to "mimic" gcc for some reason. i'd say "spam your
distributive maintainers to fix their bug".
More information about the Digitalmars-d
mailing list