aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorMisty De Meo2014-02-02 02:12:57 -0800
committerMisty De Meo2014-02-02 11:04:30 -0800
commitc3a331dfbfd820dba660f72e6e6a2dff5aba4ba4 (patch)
treebe60f3eb777c258af99781f4715583588b8cd3f8 /Library/Homebrew/exceptions.rb
parent3d82b7303c97668272e7fa2f95771f242ecf203e (diff)
downloadhomebrew-c3a331dfbfd820dba660f72e6e6a2dff5aba4ba4.tar.bz2
C++ stdlibs: issue warning, don't fail the build
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index febff797a..24b9e706e 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -115,14 +115,8 @@ end
class IncompatibleCxxStdlibs < Homebrew::InstallationError
def initialize(f, dep, wrong, right)
super f, <<-EOS.undent
- #{f} dependency #{dep} was built with the following
- C++ standard library: #{wrong.type_string} (from #{wrong.compiler})
-
- This is incompatible with the standard library being used
- to build #{f}: #{right.type_string} (from #{right.compiler})
-
- Please reinstall #{dep} using a compatible compiler.
- hint: Check https://github.com/Homebrew/homebrew/wiki/C++-Standard-Libraries
+ #{f} dependency #{dep} was built with a different C++ standard
+ library (#{wrong.type_string} from #{wrong.compiler}). This could cause problems at runtime.
EOS
end
end