brew doctor: Note there is no GCC in XCode 4.2+
Should help advert confusion surrounding the "could not find gcc 4.2.x" message recieved by Lion users running the latest version of XCode. Fixes Homebrew/homebrew#8876.
This commit is contained in:
parent
af457fb200
commit
75bc163f49
@ -184,6 +184,7 @@ def check_gcc_versions
|
||||
if gcc_42 == nil
|
||||
puts <<-EOS.undent
|
||||
We couldn't detect gcc 4.2.x. Some formulae require this compiler.
|
||||
NOTE: Versions of XCode newer than 4.2 don't include gcc 4.2.x.
|
||||
|
||||
EOS
|
||||
elsif gcc_42 < RECOMMENDED_GCC_42
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user