Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import ycm_core
- flags = [
- '-Wall',
- '-Wextra',
- '-Werror',
- '-Wno-long-long',
- '-Wno-variadic-macros',
- '-fexceptions',
- '-ferror-limit=10000',
- '-DNDEBUG',
- '-std=c99',
- '-xc',
- '-isystem/usr/include/',
- ]
- SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', ]
- def FlagsForFile( filename, **kwargs ):
- return {
- 'flags': flags,
- 'do_cache': True
- }
Advertisement
Add Comment
Please, Sign In to add comment