Closed rwhogg closed 8 years ago
Error: The selected compiler doesn't support C++11: gcc
Travis is complaining that gcc doesn't support C++11. It's using Ubuntu 12.04, which means GCC should be 4.6, which supports some C++ 11 features.
Will have to dig into this further.
I'm okay ignoring the Travis (Ubuntu 12) failure if it builds on LinuxbrewTestBot (Ubuntu 14).
LinuxbrewTestBot says…
==> brew install --verbose --build-bottle re2
==> Downloading https://github.com/google/re2/archive/2016-03-01.tar.gz
Already downloaded: /home/travis/.cache/Homebrew/re2-20160301.tar.gz
==> Verifying re2-20160301.tar.gz checksum
tar xf /home/travis/.cache/Homebrew/re2-20160301.tar.gz
Error: The selected compiler doesn't support C++11: gcc
==> FAILED
The compiler gcc
refers to GCC 4.2 in Mac Homebrew land, which is why it thinks that it doesn't support C++11. Ubuntu 14 has GCC 4.8.4, which I believe does support C++11. So, it should know that the selected compiler supports C++11. I don't know why it's complaining.
In any case, this PR can be merged as is. We'll solve the C++11 issue another day. Merge it! :+1:
There were two problems with
re2
:From https://gist.github.com/rwhogg/83095a698e0ce3289c557c02ca1c0eb8#file-01-make-L11 :
brew gist-logs <formula>
?brew audit --strict <formula>
(where<formula>
is the name of the formula you're submitting)?brew install <formula>
?