This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Possible range based 'for' bug
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Paulo Matos <pmatos at broadcom dot com>
- Cc: Julian Klappenbach <jklappenbach at gmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 22 Jun 2015 12:15:27 +0100
- Subject: Re: Possible range based 'for' bug
- Authentication-results: sourceware.org; auth=none
- References: <CAJ49vaUdYycmCPFEhCmJ9uSAzj2pCdp8oRC=yx1NSG1yZgNExA at mail dot gmail dot com> <CAJ49vaVYqrGCxh46riYjiZea-9vXNzBfTHqwUPi6NPsvzQ-Ftg at mail dot gmail dot com> <19EB96622A777C4AB91610E763265F465B633F at SJEXCHMB14 dot corp dot ad dot broadcom dot com>
On 22 June 2015 at 10:18, Paulo Matos wrote:
>
>
>> -----Original Message-----
>> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf
>> Of Julian Klappenbach
>> Sent: 21 June 2015 16:56
>> To: gcc@gcc.gnu.org
>> Subject: Re: Possible range based 'for' bug
>>
>> Version info:
>>
>> Configured with:
>> --prefix=/Applications/Xcode.app/Contents/Developer/usr
>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>> Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
>> Target: x86_64-apple-darwin14.3.0
>> Thread model: posix
>>
>
> Is this what gcc --version returns on your mac?
Yes, because Apple's latest versions of Xcode are liars.
It installs a binary called 'gcc' that is really clang.
It's quite annoying.