Exception: CxxStdlib::CompatibilityError

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

Instance Method Summary collapse

Constructor Details

#initialize(formula, dep, stdlib) ⇒ CompatibilityError

Returns a new instance of CompatibilityError



9
10
11
12
13
14
# File 'brew/Library/Homebrew/cxxstdlib.rb', line 9

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