view .dir-locals.el @ 21235:b48d65c5df5b stable

Disable char/int8_t function overloads where not permitted (bug #45411) * configure.ac (HAVE_OVERLOAD_CHAR_INT8_TYPES): Add test and conditional on whether the system allows overloads with char, int8_t, and uint8_t (e.g. Solaris does not). * oct_inttypes.h, oct-stream.cc: Use HAVE_OVERLOAD_CHAR_INT8_TYPES.
author Mike Miller <mtmiller@octave.org>
date Tue, 09 Feb 2016 11:54:02 -0800
parents 9ff04de067ce
children df203b20cfc6
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))