Boost logo

Boost :

Subject: Re: [boost] [Predef] Pre-review comments
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-02-27 03:55:13


On 02/26/2012 03:25 PM, Bjorn Reese wrote:
> On 2012-02-26 14:59, Mathias Gaunard wrote:
>
>> DragonEgg and llvm-gcc define both __GNUC__ and __llvm__.
>> I don't see any problem there with telling that it's a GCC frontend with
>> a LLVM backend.
>
> Clang also defines those two macros even though it is not using GCC as
> a frontend.

But Clang defines __clang__, which the compilers above do not.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk