Re: [Audacity-devel] Can we use a more current compiler for Travis?
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: James C. <cr...@in...> - 2015-09-02 17:53:36
|
Travis is proving very useful for us. I don't want to break it and particularly not right now close to release. It's using gcc 4.6.3. If you want to experiment *in your own branch* with clang++ and CXXFLAGS=-g -std=c++11 That could be a way forward. Or add |sudo apt-get update sudo apt-get install gcc-4.8 g++-4.8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 | to the start of travis.yaml. Also perhaps worth experimenting with http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade So I'm not averse to C++11, but I am to losing ability to easily check linux builds on Travis. And of course whatever is done also has to work on Macs. Audacity MUST be easily compilable on a standard Ubuntu 14.04 LTS. That's gcc 4.8.2. --James. On 02/09/2015 16:28, Paul Licameli wrote: > Are the gcc options used in Travis even the same as for production > builds on Linux? > > I think this is an outdated and not quite standards-compliant compiler > (even for 2003) that annoys me flagging things as errors that it > should not. > > Meanwhile the compiler I am using on Visual Studio has the cool new > C++11 features I wish I could use, but good luck getting them by Travis. > > PRL > > |