aboutsummaryrefslogtreecommitdiff
path: root/ycm_extra_conf.py
blob: 7a1828fec1c9e20e1b353c71a86a7035eb579a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def FlagsForFile(filename, **kwargs):
    return {
        'flags': [
            '-Wall',
            '-Wextra',
            '-Werror',
            '-Wno-long-long',
            '-Wno-variadic-macros',
            '-fexceptions',
            '-ferror-limit=10000',
            '-DNDEBUG',
            '-std=c99',
            '-x', 'c',
            '-D_GNU_SOURCE',
            '-I.',
            '-I', '/usr/include/'
        ],
        'do_cache': True,
    }

# vim:set et sw=4 ts=4 tw=120:
..