On 16 Nov 2014 21:40, "Koz Ross via D.gnu" <d.gnu@puremagic.com> wrote: > > On Saturday, 15 November 2014 at 14:53:13 UTC, Iain Buclaw via > > D.gnu wrote: >> >> >> >> Ask him why there is support for gcc and clang in flycheck then? I >> mean if you support one c++ compiler, it's pointless to support >> another... > > > His response, quoted verbatim: > >> Clang provides better diagnostics than most GCC versions and is the default on > OS X, whereas GCC supports more architectures, which is important when writing > architecture-specific code that would otherwise be hidden behind ifdefs. >
And he has answered your question for you. :) Only change C's ifdef with D's version.