 
   # A string, list, tuple or callable that returns a string, list or tuple,
   # containing the command line (with arguments) used to lint.
-  cmd: '-fsyntax-only -fno-caret-diagnostics'
+  cmd: '-fsyntax-only -fno-caret-diagnostics -fexceptions'
   isCpp: false
-  clangCmd: null
-  clangPlusPlusCmd: null
+  clang: null
 
   executablePath: null
 

    @editor = editor

    if editor.getGrammar().name == 'C++'
      @grammar = '+'
      @isCpp = true
    if editor.getGrammar().name == 'C'
      @isCpp = false
      @grammar = 'c'

    super(editor)


    # save cmd to tmp
    tmp = @cmd

    @clang = atom.config.get 'linter-clang.clangCommand'
    if atom.inDevMode()
      console.log 'clang-command: ' + @clang

    @cmd = "#{@clang} #{@cmd} -x #{@language}"

    if @isCpp
      @cmd += ' ' + atom.config.get 'linter-clang.clangDefaultCppFlags'
