Skip to content
Snippets Groups Projects
Commit fbff2ee8 authored by Charlie Sharpsteen's avatar Charlie Sharpsteen Committed by Adam Vandenberg
Browse files

Retire check for GCC 4.0 under XCode 4.x


XCode 4.x only includes GCC 4.2. Therefore, having `brew doctor` report that
GCC 4.0 is missing only spreads fear, uncertainty and doubt over a situation
that is status quo.

Signed-off-by: default avatarAdam Vandenberg <flangy@gmail.com>
parent 92b9edd3
No related branches found
No related tags found
No related merge requests found
......@@ -194,17 +194,19 @@ def check_gcc_versions
EOS
end
if gcc_40 == nil
puts <<-EOS.undent
We couldn't detect gcc 4.0.x. Some formulae require this compiler.
if MacOS.xcode_version < "4.0"
if gcc_40 == nil
puts <<-EOS.undent
We couldn't detect gcc 4.0.x. Some formulae require this compiler.
EOS
elsif gcc_40 < RECOMMENDED_GCC_40
puts <<-EOS.undent
Your gcc 4.0.x version is older than the recommended version. It may be advisable
to upgrade to the latest release of Xcode.
EOS
elsif gcc_40 < RECOMMENDED_GCC_40
puts <<-EOS.undent
Your gcc 4.0.x version is older than the recommended version. It may be advisable
to upgrade to the latest release of Xcode.
EOS
EOS
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment