[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apple atan2f
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Apple atan2f |
Date: |
Tue, 16 Nov 2010 17:42:26 -0600 |
On 16 November 2010 17:29, Ben Abbott <address@hidden> wrote:
> Using Apple's compiler (gcc 4.2.1 with their patches) I get the error below.
>
> $ g++ -O0 -frounding-math -std=c++0x rndtst.cpp -o rndtst
> cc1plus: error: unrecognized command line option "-std=c++0x"
gcc 4.3 was where C++0x features (updates to the C++ standard) were
beginning to be implemented, but gcc 4.3 is also where the move to
GPLv3 was done. Apple seems intent on shunning GPLv3 as much as
possible. This is largely whence Apple's interest in clang: it's not
copylefted. They pay some lip service to technical merit, but the fact
is that Apple is trying to stifle copylefted software. Pity, because
clang doesn't implement much or any of C++0x, and I expect it won't
for some time.
Sorry for the lecture, but I actually find this worrying. It might
create a schism between developers in GNU-based systems and Mac OS X
users, where we'll now have to worry about supporting two major
compilers instead of focussing mostly on gcc. True that Octave tries
to be very compatible across compilers, but clang would be yet another
compiler to support, and a major one at that. I expect that packaing
higher versions of gcc for macports or similar will be a chore few
will attend to.
- Jordi G. H>
- Re: Apple atan2f, Rik, 2010/11/10
- Re: Apple atan2f, Michael D Godfrey, 2010/11/11
- Re: Apple atan2f, Ben Abbott, 2010/11/11
- Re: Apple atan2f, Michael D Godfrey, 2010/11/11
- Re: Apple atan2f, Jarno Rajahalme, 2010/11/11
- Re: Apple atan2f, Michael D. Godfrey, 2010/11/11
- Re: Apple atan2f, Rik, 2010/11/16
- Re: Apple atan2f, Ben Abbott, 2010/11/16
- Re: Apple atan2f,
Jordi Gutiérrez Hermoso <=
- Re: Apple atan2f, Ben Abbott, 2010/11/16
- Re: Apple atan2f, Jarno Rajahalme, 2010/11/17