 	 ("\\.objc\\'" . objc-mode)
 	 ("\\.m\\'" . objc-mode))
   :init
+  (setq gcc-version 5) ;Set the gcc-version in preparing the header-paths below.
   (use-package programming-init
     :init
     (require 'smartparens)

    "Set paths for auto-header."
    (require 'company-c-headers)
    (setq my-header-paths
          '("/usr/include/c++/4.8"
            "/usr/include/x86_64-linux-gnu/c++/4.8"
            "/usr/include/c++/4.8/backward"
            "/usr/lib/gcc/x86_64-linux-gnu/4.8/include"
            "/usr/local/include"
            "/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed"
            "/usr/include/x86_64-linux-gnu"
            "/usr/include"
            "/usr/include/sword"))

	(define-key irony-mode-map [remap complete-symbol]
	  'irony-completion-at-point-async)))

    ;(add-hook 'irony-mode-hook 'my-irony-mode-hook)
    (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)

    (use-package company
