On 22 June 2015 at 10:18, Paulo Matos wrote: > > >> -----Original Message----- >> From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@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.