diff options
| -rw-r--r-- | ycm_extra_conf.py | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/ycm_extra_conf.py b/ycm_extra_conf.py index 092887d..7a1828f 100644 --- a/ycm_extra_conf.py +++ b/ycm_extra_conf.py | |||
| @@ -1,13 +1,21 @@ | |||
| 1 | def FlagsForFile(filename, **kwargs): | 1 | def FlagsForFile(filename, **kwargs): |
| 2 | return { | 2 | return { |
| 3 | 'flags': [ | 3 | 'flags': [ |
| 4 | '-x', | 4 | '-Wall', |
| 5 | 'c', | 5 | '-Wextra', |
| 6 | '-isystem', | 6 | '-Werror', |
| 7 | '/usr/include', | 7 | '-Wno-long-long', |
| 8 | '-isystem', | 8 | '-Wno-variadic-macros', |
| 9 | '-isystem', | 9 | '-fexceptions', |
| 10 | '-I', | 10 | '-ferror-limit=10000', |
| 11 | '.', | 11 | '-DNDEBUG', |
| 12 | '-std=c99', | ||
| 13 | '-x', 'c', | ||
| 14 | '-D_GNU_SOURCE', | ||
| 15 | '-I.', | ||
| 16 | '-I', '/usr/include/' | ||
| 12 | ], | 17 | ], |
| 18 | 'do_cache': True, | ||
| 13 | } | 19 | } |
| 20 | |||
| 21 | # vim:set et sw=4 ts=4 tw=120: | ||
