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".

Reply via email to