Hello David and all,

David A. Wheeler (2021/02/05 11:40 -0500):
> I would *discourage* trying to figure out if a C compiler is gcc or clang.
> Instead, create separate detectors for whatever you’re looking for.
>
> The gcc & clang groups coordinate with each other; they try to provide the 
> same
> flags & API for the same functionality, and occasionally copy from each other.
> So trying to detect “do this if GCC” is generally wrong; clang may have that 
> interface & functionality
> when someone compiles the code.

That was a good advice. Thanks!

Sébastien.

Reply via email to