Exception: CxxStdlib::CompatibilityError

Inherits:
StandardError
  • Object
show all
Defined in:
Library/Homebrew/cxxstdlib.rb

Instance Method Summary collapse

Constructor Details

#initialize(formula, dep, stdlib) ⇒ CompatibilityError

Returns a new instance of CompatibilityError



7
8
9
10
11
12
# File 'Library/Homebrew/cxxstdlib.rb', line 7

def initialize(formula, dep, stdlib)
  super <<~EOS
    #{formula.full_name} dependency #{dep.name} was built with a different C++ standard
    library (#{stdlib.type_string} from #{stdlib.compiler}). This may cause problems at runtime.
    EOS
end