niosus / EasyClangComplete

:boom: Robust C/C++ code completion for Sublime Text 3/4
https://niosus.github.io/EasyClangComplete/
MIT License
574 stars 79 forks source link

ECC suppresses the output panels of CMake​Builder and Sublime​Linter #722

Closed manojbaishya closed 3 years ago

manojbaishya commented 3 years ago

System info:

What happens:

When using CMakeBuilder, SublimeLinter with EasyClangComplete on a CMake Project, if I open the output panels of those plugins from the bottom left corner button, ECC suppresses them. In particular, CMakeBuilder is rendered unusable when a .cpp or a .c file is open, and I try to build the project from the command palette.

Screencast of the error.

Debug Log: ``` startup, version: 3211 linux x64 channel: stable executable: /opt/sublime_text/sublime_text working dir: / packages path: /home/manoj/.config/sublime-text-3/Packages state path: /home/manoj/.config/sublime-text-3/Local zip path: /opt/sublime_text/Packages zip path: /home/manoj/.config/sublime-text-3/Installed Packages ignored_packages: ["Vintage"] pre session restore time: 0.353656 startup time: 0.721006 first paint time: 0.794259 reloading plugin Default.arithmetic reloading plugin Default.auto_indent_tag reloading plugin Default.block reloading plugin Default.colors reloading plugin Default.comment reloading plugin Default.convert_color_scheme reloading plugin Default.convert_syntax reloading plugin Default.copy_path reloading plugin Default.detect_indentation reloading plugin Default.echo reloading plugin Default.exec reloading plugin Default.fold reloading plugin Default.font reloading plugin Default.goto_line reloading plugin Default.history_list reloading plugin Default.indentation reloading plugin Default.install_package_control reloading plugin Default.kill_ring reloading plugin Default.mark reloading plugin Default.new_templates reloading plugin Default.open_context_url reloading plugin Default.open_in_browser reloading plugin Default.pane reloading plugin Default.paragraph reloading plugin Default.paste_from_history reloading plugin Default.profile reloading plugin Default.quick_panel reloading plugin Default.rename reloading plugin Default.run_syntax_tests reloading plugin Default.save_on_focus_lost reloading plugin Default.scroll reloading plugin Default.set_unsaved_view_name reloading plugin Default.settings reloading plugin Default.show_scope_name reloading plugin Default.side_bar reloading plugin Default.sort reloading plugin Default.switch_file reloading plugin Default.symbol reloading plugin Default.transform reloading plugin Default.transpose reloading plugin Default.ui reloading plugin CSS.css_completions reloading plugin Diff.diff reloading plugin HTML.encode_html_entities reloading plugin HTML.html_completions reloading plugin ShellScript.ShellScript reloading plugin 0_package_control_loader.00-package_control reloading plugin 0_package_control_loader.01-numpy reloading plugin 0_package_control_loader.01-pygments reloading plugin 0_package_control_loader.01-python-toml reloading plugin 0_package_control_loader.01-sublime_lib reloading plugin 0_package_control_loader.10-lxml reloading plugin 0_package_control_loader.10-wcwidth reloading plugin 0_package_control_loader.40-ptyprocess reloading plugin 0_package_control_loader.50-backrefs reloading plugin 0_package_control_loader.50-dateutil reloading plugin 0_package_control_loader.50-markupsafe reloading plugin 0_package_control_loader.50-pathlib reloading plugin 0_package_control_loader.50-pymdownx reloading plugin 0_package_control_loader.50-pyte reloading plugin 0_package_control_loader.50-python-markdown reloading plugin 0_package_control_loader.50-pyyaml reloading plugin 0_package_control_loader.50-requests reloading plugin 0_package_control_loader.51-python-jinja2 reloading plugin 0_package_control_loader.55-jsonschema reloading plugin 0_package_control_loader.55-mdpopups reloading plugin Advanced CSV.csvplugin reloading plugin AdvancedNewFile.AdvancedNewFile reloading plugin Alignment.Alignment reloading plugin All Autocomplete.all_views_completions reloading plugin AutoFileName.autofilename reloading plugin AutoFileName.getimageinfo reloading plugin BracketGuard.BracketGuard reloading plugin BracketHighlighter.bh_core reloading plugin BracketHighlighter.bh_logging reloading plugin BracketHighlighter.bh_plugin reloading plugin BracketHighlighter.bh_popup reloading plugin BracketHighlighter.bh_regions reloading plugin BracketHighlighter.bh_remove reloading plugin BracketHighlighter.bh_rules reloading plugin BracketHighlighter.bh_search reloading plugin BracketHighlighter.bh_swapping reloading plugin BracketHighlighter.bh_wrapping reloading plugin BracketHighlighter.support reloading plugin C++ Classhelper.cppclasshelper reloading plugin C++ Classhelper.template reloading plugin Case Conversion.case_conversion reloading plugin Case Conversion.case_parse reloading plugin Clang Format.clang_format reloading plugin Class Navigator.class_navigator reloading plugin CMakeFormat.cmake_format reloading plugin Code Runner.coderunner reloading plugin Conda.commands reloading plugin DeleteBlankLines.DeleteBlankLines reloading plugin DictionaryAutoComplete.DictionaryAutoComplete reloading plugin DocBlockr.jsdocs reloading plugin DocBlockr_Python.__init__ reloading plugin DocBlockr_Python.commands reloading plugin DocBlockr_Python.DocblockrPython reloading plugin Emmet.main Unable to find cancel_build command: exec Unable to find cancel_build command: exec reloading plugin File History.file_history reloading plugin FileHeader.FileHeader reloading plugin GitGutter.plugin reloading plugin GitSavvy.__init__ reloading plugin GitSavvy.git_savvy reloading plugin Highlight Trailing Whitespace.highlight-trailing-whitespace reloading plugin Insert to Column.insert-to-column reloading plugin Jumpy.Jumpy reloading plugin MarkdownPreview.markdown_preview reloading plugin MarkdownPreview.markdown_settings reloading plugin MarkdownPreview.markdown_wrapper reloading plugin Notepad++ Tab Context.NppTabContext reloading plugin Origami.origami reloading plugin Package Control.1_reloader reloading plugin Package Control.2_bootstrap reloading plugin Package Control.Package Control reloading plugin PackageResourceViewer.package_resource_viewer reloading plugin PackageResourceViewer.package_resources reloading plugin ProjectManager.json_file reloading plugin ProjectManager.project_manager reloading plugin PyTest.__init__ reloading plugin PyTest.annotator reloading plugin PyTest.find_test reloading plugin PyTest.formatters reloading plugin PyTest.matchers reloading plugin PyTest.PyTest reloading plugin PyTest.pytest_exec reloading plugin PyTest.settings reloading plugin PyTest.util reloading plugin PyTest.xexec reloading plugin Python Debugger.mydebugger reloading plugin PythonTest.plugin reloading plugin RainbowBrackets.main reloading plugin Semantic Highlighter.SemanticHighlighter reloading plugin Shell Exec.ShellExec reloading plugin SideBarEnhancements.SideBar reloading plugin SideBarEnhancements.SideBarAPI reloading plugin SideBarEnhancements.SideBarDefaultDisable reloading plugin SideBarTools.SideBar reloading plugin sublack.main reloading plugin SublimeLinter-clang.linter reloading plugin SublimeLinter-contrib-mypy.linter reloading plugin SublimeLinter-flake8.linter reloading plugin SublimeLinter-gcc.linter reloading plugin SublimeLinter-pydocstyle.linter reloading plugin SublimeLinter.__init__ reloading plugin SublimeLinter._init reloading plugin SublimeLinter.active_linters_view reloading plugin SublimeLinter.busy_indicator_view reloading plugin SublimeLinter.goto_commands reloading plugin SublimeLinter.highlight_view reloading plugin SublimeLinter.log_handler reloading plugin SublimeLinter.message_view reloading plugin SublimeLinter.panel_view reloading plugin SublimeLinter.quick_actions reloading plugin SublimeLinter.status_bar_view reloading plugin SublimeLinter.sublime_linter reloading plugin SyncedSideBar.SyncedSideBar reloading plugin TabsExtra.support reloading plugin TabsExtra.tab_menu reloading plugin TabsExtra.tab_sort_helper reloading plugin TabsExtra.tabs_extra reloading plugin Terminus.main reloading plugin Trimmer.Trimmer reloading plugin Whitespace.Whitespace reloading plugin EasyClangComplete.EasyClangComplete reloading plugin HTML-CSS-JS Prettify.HTMLPrettify reloading plugin Jedi - Python autocompletion.__init__ reloading plugin PlainTasks.APlainTasksCommon reloading plugin PlainTasks.PlainTasks reloading plugin PlainTasks.PlainTasksDates reloading plugin PlainTasks.PlainTasksToHTML reloading plugin PlainTasks.plist_parser reloading plugin SendCode.choose_prog reloading plugin SendCode.install_xdotool reloading plugin SendCode.send_code reloading plugin SendCode.settings reloading plugin SQLTools.SQLTools reloading plugin Terminal.Terminal plugins loaded Semantic Highlighter loaded [sublack:main.py](INFO) Loglevel set to INFO [ECC:DEBUG]:[settings_storage.py]:[need_reparse]:[MainThread]: settings complete [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[MainThread]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None Package Control: Skipping automatic upgrade, last run at 2020-11-30 19:56:24, next run at 2020-11-30 20:56:24 or after git: tracking working dir /media/manoj/DATA/Masters/Projects/code/ws/kazmath [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[MainThread]: view file_name is None [ECC:DEBUG]:[settings_manager.py]:[settings_for_view]:[Dummy-7]: no settings for view 30. Reinitializing. [ECC:DEBUG]:[settings_storage.py]:[__load_vars_from_settings]:[Dummy-7]: Overriding settings by project ones if needed: [ECC:DEBUG]:[settings_storage.py]:[__load_vars_from_settings]:[Dummy-7]: Valid prefixes: ['ecc_', 'easy_clang_complete_'] [ECC:DEBUG]:[settings_storage.py]:[__load_vars_from_settings]:[Dummy-7]: Reading settings... [ECC:DEBUG]:[settings_storage.py]:[__load_vars_from_settings]:[Dummy-7]: Settings sucessfully read... [ECC:INFO]:[clang_utils.py]:[get_clang_version_str]:[Dummy-7]: Getting version from command: `clang++ -v` [ECC:DEBUG]:[settings_storage.py]:[__populate_common_flags]:[Dummy-7]: Populating common_flags with current variables. [ECC:DEBUG]:[file.py]:[expand_all]:[Dummy-7]: Populated '$project_path/src' to '/src' [ECC:DEBUG]:[file.py]:[expand_all]:[Dummy-7]: Populated '/usr/lib/clang/$clang_version/include' to '['/usr/lib/llvm-10/lib/clang/10.0.0/include']' [ECC:DEBUG]:[file.py]:[expand_all]:[Dummy-7]: Populated '$file_path' to '['/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath']' Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 627, in on_activated_async callback.on_activated_async(v) File "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/EasyClangComplete.py", line 304, in on_activated_async settings = EasyClangComplete.settings_manager.settings_for_view(view) File "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_manager.py", line 56, in settings_for_view self.__init_for_view(view) File "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_manager.py", line 104, in __init_for_view self.__settings_dict[view_id].update_from_view(view) File "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_storage.py", line 156, in update_from_view self.__populate_flags_source_paths() File "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_storage.py", line 332, in __populate_flags_source_paths source_dict[option]) File "/home/manoj/.config/sublime-text-3/Packages/EasyClangComplete/plugin/settings/settings_storage.py", line 308, in expand_paths_in_flags_if_needed value = split_flag[1].strip() IndexError: list index out of range [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[EasyClangComplete.py]:[on_activated_async]:[Dummy-7]: on_activated_async view id 30 [ECC:DEBUG]:[view_config_manager.py]:[load_for_view]:[Thread-20]: Generate new config for path: 30 [ECC:INFO]:[view_config.py]:[__init_completer]:[Thread-20]: init completer based on libclang [ECC:DEBUG]:[lib_complete.py]:[__init__]:[Thread-20]: using bundled cindex: EasyClangComplete.plugin.clang.cindex50 [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Platform: Linux, ('64bit', '') [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Python version: 3.3.6 [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: User provided libclang_path: '' [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Searching for: 'libclang-10..so' [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Generating search folder [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Libclang search output = 'libclang-10..so' [ECC:DEBUG]:[clang_utils.py]:[dir_from_output]:[Thread-20]: Real output: libclang-10..so [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Checking path: ./libclang-10..so [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Clang could not find './libclang-10..so' [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Searching for: 'libclang.so' [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Generating search folder [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Libclang search output = '/usr/lib/llvm-10/bin/../lib/libclang.so' [ECC:DEBUG]:[clang_utils.py]:[dir_from_output]:[Thread-20]: Real output: /usr/lib/llvm-10/bin/../lib/libclang.so [ECC:DEBUG]:[clang_utils.py]:[find_libclang]:[Thread-20]: Checking path: /usr/lib/llvm-10/lib/libclang.so [ECC:INFO]:[clang_utils.py]:[find_libclang]:[Thread-20]: Found libclang library file: '/usr/lib/llvm-10/lib/libclang.so' [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete exists. [ECC:DEBUG]:[compiler_builtins.py]:[__init__]:[Thread-20]: Generating default flags from file 'ECC_temp_file.cpp' in folder '/tmp/EasyClangComplete' [ECC:DEBUG]:[compiler_builtins.py]:[__generate_flags]:[Thread-20]: Generating new default flags with cmd: '['clang', '-x', 'c', '-std=c11', '-c', 'ECC_temp_file.cpp', '-dM', '-v', '-E']' [ECC:DEBUG]:[compiler_builtins.py]:[get_defines]:[Thread-20]: Got defines: ['-D_LP64=1', '-D__ATOMIC_ACQUIRE=2', '-D__ATOMIC_ACQ_REL=4', '-D__ATOMIC_CONSUME=1', '-D__ATOMIC_RELAXED=0', '-D__ATOMIC_RELEASE=3', '-D__ATOMIC_SEQ_CST=5', '-D__BIGGEST_ALIGNMENT__=16', '-D__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__', '-D__CHAR16_TYPE__=unsigned short', '-D__CHAR32_TYPE__=unsigned int', '-D__CHAR_BIT__=8', '-D__CLANG_ATOMIC_BOOL_LOCK_FREE=2', '-D__CLANG_ATOMIC_CHAR16_T_LOCK_FREE=2', '-D__CLANG_ATOMIC_CHAR32_T_LOCK_FREE=2', '-D__CLANG_ATOMIC_CHAR_LOCK_FREE=2', '-D__CLANG_ATOMIC_INT_LOCK_FREE=2', '-D__CLANG_ATOMIC_LLONG_LOCK_FREE=2', '-D__CLANG_ATOMIC_LONG_LOCK_FREE=2', '-D__CLANG_ATOMIC_POINTER_LOCK_FREE=2', '-D__CLANG_ATOMIC_SHORT_LOCK_FREE=2', '-D__CLANG_ATOMIC_WCHAR_T_LOCK_FREE=2', '-D__CONSTANT_CFSTRINGS__=1', '-D__DBL_DECIMAL_DIG__=17', '-D__DBL_DENORM_MIN__=4.9406564584124654e-324', '-D__DBL_DIG__=15', '-D__DBL_EPSILON__=2.2204460492503131e-16', '-D__DBL_HAS_DENORM__=1', '-D__DBL_HAS_INFINITY__=1', '-D__DBL_HAS_QUIET_NAN__=1', '-D__DBL_MANT_DIG__=53', '-D__DBL_MAX_10_EXP__=308', '-D__DBL_MAX_EXP__=1024', '-D__DBL_MAX__=1.7976931348623157e+308', '-D__DBL_MIN_10_EXP__=(-307)', '-D__DBL_MIN_EXP__=(-1021)', '-D__DBL_MIN__=2.2250738585072014e-308', '-D__DECIMAL_DIG__=__LDBL_DECIMAL_DIG__', '-D__ELF__=1', '-D__FINITE_MATH_ONLY__=0', '-D__FLOAT128__=1', '-D__FLT_DECIMAL_DIG__=9', '-D__FLT_DENORM_MIN__=1.40129846e-45F', '-D__FLT_DIG__=6', '-D__FLT_EPSILON__=1.19209290e-7F', '-D__FLT_EVAL_METHOD__=0', '-D__FLT_HAS_DENORM__=1', '-D__FLT_HAS_INFINITY__=1', '-D__FLT_HAS_QUIET_NAN__=1', '-D__FLT_MANT_DIG__=24', '-D__FLT_MAX_10_EXP__=38', '-D__FLT_MAX_EXP__=128', '-D__FLT_MAX__=3.40282347e+38F', '-D__FLT_MIN_10_EXP__=(-37)', '-D__FLT_MIN_EXP__=(-125)', '-D__FLT_MIN__=1.17549435e-38F', '-D__FLT_RADIX__=2', '-D__FXSR__=1', '-D__GCC_ASM_FLAG_OUTPUTS__=1', '-D__GCC_ATOMIC_BOOL_LOCK_FREE=2', '-D__GCC_ATOMIC_CHAR16_T_LOCK_FREE=2', '-D__GCC_ATOMIC_CHAR32_T_LOCK_FREE=2', '-D__GCC_ATOMIC_CHAR_LOCK_FREE=2', '-D__GCC_ATOMIC_INT_LOCK_FREE=2', '-D__GCC_ATOMIC_LLONG_LOCK_FREE=2', '-D__GCC_ATOMIC_LONG_LOCK_FREE=2', '-D__GCC_ATOMIC_POINTER_LOCK_FREE=2', '-D__GCC_ATOMIC_SHORT_LOCK_FREE=2', '-D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1', '-D__GCC_ATOMIC_WCHAR_T_LOCK_FREE=2', '-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1', '-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1', '-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1', '-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1', '-D__GNUC_MINOR__=2', '-D__GNUC_PATCHLEVEL__=1', '-D__GNUC_STDC_INLINE__=1', '-D__GNUC__=4', '-D__GXX_ABI_VERSION=1002', '-D__INT16_C_SUFFIX__', '-D__INT16_FMTd__="hd"', '-D__INT16_FMTi__="hi"', '-D__INT16_MAX__=32767', '-D__INT16_TYPE__=short', '-D__INT32_C_SUFFIX__', '-D__INT32_FMTd__="d"', '-D__INT32_FMTi__="i"', '-D__INT32_MAX__=2147483647', '-D__INT32_TYPE__=int', '-D__INT64_C_SUFFIX__=L', '-D__INT64_FMTd__="ld"', '-D__INT64_FMTi__="li"', '-D__INT64_MAX__=9223372036854775807L', '-D__INT64_TYPE__=long int', '-D__INT8_C_SUFFIX__', '-D__INT8_FMTd__="hhd"', '-D__INT8_FMTi__="hhi"', '-D__INT8_MAX__=127', '-D__INT8_TYPE__=signed char', '-D__INTMAX_C_SUFFIX__=L', '-D__INTMAX_FMTd__="ld"', '-D__INTMAX_FMTi__="li"', '-D__INTMAX_MAX__=9223372036854775807L', '-D__INTMAX_TYPE__=long int', '-D__INTMAX_WIDTH__=64', '-D__INTPTR_FMTd__="ld"', '-D__INTPTR_FMTi__="li"', '-D__INTPTR_MAX__=9223372036854775807L', '-D__INTPTR_TYPE__=long int', '-D__INTPTR_WIDTH__=64', '-D__INT_FAST16_FMTd__="hd"', '-D__INT_FAST16_FMTi__="hi"', '-D__INT_FAST16_MAX__=32767', '-D__INT_FAST16_TYPE__=short', '-D__INT_FAST32_FMTd__="d"', '-D__INT_FAST32_FMTi__="i"', '-D__INT_FAST32_MAX__=2147483647', '-D__INT_FAST32_TYPE__=int', '-D__INT_FAST64_FMTd__="ld"', '-D__INT_FAST64_FMTi__="li"', '-D__INT_FAST64_MAX__=9223372036854775807L', '-D__INT_FAST64_TYPE__=long int', '-D__INT_FAST8_FMTd__="hhd"', '-D__INT_FAST8_FMTi__="hhi"', '-D__INT_FAST8_MAX__=127', '-D__INT_FAST8_TYPE__=signed char', '-D__INT_LEAST16_FMTd__="hd"', '-D__INT_LEAST16_FMTi__="hi"', '-D__INT_LEAST16_MAX__=32767', '-D__INT_LEAST16_TYPE__=short', '-D__INT_LEAST32_FMTd__="d"', '-D__INT_LEAST32_FMTi__="i"', '-D__INT_LEAST32_MAX__=2147483647', '-D__INT_LEAST32_TYPE__=int', '-D__INT_LEAST64_FMTd__="ld"', '-D__INT_LEAST64_FMTi__="li"', '-D__INT_LEAST64_MAX__=9223372036854775807L', '-D__INT_LEAST64_TYPE__=long int', '-D__INT_LEAST8_FMTd__="hhd"', '-D__INT_LEAST8_FMTi__="hhi"', '-D__INT_LEAST8_MAX__=127', '-D__INT_LEAST8_TYPE__=signed char', '-D__INT_MAX__=2147483647', '-D__LDBL_DECIMAL_DIG__=21', '-D__LDBL_DENORM_MIN__=3.64519953188247460253e-4951L', '-D__LDBL_DIG__=18', '-D__LDBL_EPSILON__=1.08420217248550443401e-19L', '-D__LDBL_HAS_DENORM__=1', '-D__LDBL_HAS_INFINITY__=1', '-D__LDBL_HAS_QUIET_NAN__=1', '-D__LDBL_MANT_DIG__=64', '-D__LDBL_MAX_10_EXP__=4932', '-D__LDBL_MAX_EXP__=16384', '-D__LDBL_MAX__=1.18973149535723176502e+4932L', '-D__LDBL_MIN_10_EXP__=(-4931)', '-D__LDBL_MIN_EXP__=(-16381)', '-D__LDBL_MIN__=3.36210314311209350626e-4932L', '-D__LITTLE_ENDIAN__=1', '-D__LONG_LONG_MAX__=9223372036854775807LL', '-D__LONG_MAX__=9223372036854775807L', '-D__LP64__=1', '-D__MMX__=1', '-D__NO_INLINE__=1', '-D__NO_MATH_INLINES=1', '-D__OBJC_BOOL_IS_BOOL=0', '-D__OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES=3', '-D__OPENCL_MEMORY_SCOPE_DEVICE=2', '-D__OPENCL_MEMORY_SCOPE_SUB_GROUP=4', '-D__OPENCL_MEMORY_SCOPE_WORK_GROUP=1', '-D__OPENCL_MEMORY_SCOPE_WORK_ITEM=0', '-D__ORDER_BIG_ENDIAN__=4321', '-D__ORDER_LITTLE_ENDIAN__=1234', '-D__ORDER_PDP_ENDIAN__=3412', '-D__POINTER_WIDTH__=64', '-D__PRAGMA_REDEFINE_EXTNAME=1', '-D__PTRDIFF_FMTd__="ld"', '-D__PTRDIFF_FMTi__="li"', '-D__PTRDIFF_MAX__=9223372036854775807L', '-D__PTRDIFF_TYPE__=long int', '-D__PTRDIFF_WIDTH__=64', '-D__REGISTER_PREFIX__', '-D__SCHAR_MAX__=127', '-D__SEG_FS=1', '-D__SEG_GS=1', '-D__SHRT_MAX__=32767', '-D__SIG_ATOMIC_MAX__=2147483647', '-D__SIG_ATOMIC_WIDTH__=32', '-D__SIZEOF_DOUBLE__=8', '-D__SIZEOF_FLOAT128__=16', '-D__SIZEOF_FLOAT__=4', '-D__SIZEOF_INT128__=16', '-D__SIZEOF_INT__=4', '-D__SIZEOF_LONG_DOUBLE__=16', '-D__SIZEOF_LONG_LONG__=8', '-D__SIZEOF_LONG__=8', '-D__SIZEOF_POINTER__=8', '-D__SIZEOF_PTRDIFF_T__=8', '-D__SIZEOF_SHORT__=2', '-D__SIZEOF_SIZE_T__=8', '-D__SIZEOF_WCHAR_T__=4', '-D__SIZEOF_WINT_T__=4', '-D__SIZE_FMTX__="lX"', '-D__SIZE_FMTo__="lo"', '-D__SIZE_FMTu__="lu"', '-D__SIZE_FMTx__="lx"', '-D__SIZE_MAX__=18446744073709551615UL', '-D__SIZE_TYPE__=long unsigned int', '-D__SIZE_WIDTH__=64', '-D__SSE2_MATH__=1', '-D__SSE2__=1', '-D__SSE_MATH__=1', '-D__SSE__=1', '-D__STDC_HOSTED__=1', '-D__STDC_UTF_16__=1', '-D__STDC_UTF_32__=1', '-D__STDC_VERSION__=201112L', '-D__STDC__=1', '-D__STRICT_ANSI__=1', '-D__UINT16_C_SUFFIX__', '-D__UINT16_FMTX__="hX"', '-D__UINT16_FMTo__="ho"', '-D__UINT16_FMTu__="hu"', '-D__UINT16_FMTx__="hx"', '-D__UINT16_MAX__=65535', '-D__UINT16_TYPE__=unsigned short', '-D__UINT32_C_SUFFIX__=U', '-D__UINT32_FMTX__="X"', '-D__UINT32_FMTo__="o"', '-D__UINT32_FMTu__="u"', '-D__UINT32_FMTx__="x"', '-D__UINT32_MAX__=4294967295U', '-D__UINT32_TYPE__=unsigned int', '-D__UINT64_C_SUFFIX__=UL', '-D__UINT64_FMTX__="lX"', '-D__UINT64_FMTo__="lo"', '-D__UINT64_FMTu__="lu"', '-D__UINT64_FMTx__="lx"', '-D__UINT64_MAX__=18446744073709551615UL', '-D__UINT64_TYPE__=long unsigned int', '-D__UINT8_C_SUFFIX__', '-D__UINT8_FMTX__="hhX"', '-D__UINT8_FMTo__="hho"', '-D__UINT8_FMTu__="hhu"', '-D__UINT8_FMTx__="hhx"', '-D__UINT8_MAX__=255', '-D__UINT8_TYPE__=unsigned char', '-D__UINTMAX_C_SUFFIX__=UL', '-D__UINTMAX_FMTX__="lX"', '-D__UINTMAX_FMTo__="lo"', '-D__UINTMAX_FMTu__="lu"', '-D__UINTMAX_FMTx__="lx"', '-D__UINTMAX_MAX__=18446744073709551615UL', '-D__UINTMAX_TYPE__=long unsigned int', '-D__UINTMAX_WIDTH__=64', '-D__UINTPTR_FMTX__="lX"', '-D__UINTPTR_FMTo__="lo"', '-D__UINTPTR_FMTu__="lu"', '-D__UINTPTR_FMTx__="lx"', '-D__UINTPTR_MAX__=18446744073709551615UL', '-D__UINTPTR_TYPE__=long unsigned int', '-D__UINTPTR_WIDTH__=64', '-D__UINT_FAST16_FMTX__="hX"', '-D__UINT_FAST16_FMTo__="ho"', '-D__UINT_FAST16_FMTu__="hu"', '-D__UINT_FAST16_FMTx__="hx"', '-D__UINT_FAST16_MAX__=65535', '-D__UINT_FAST16_TYPE__=unsigned short', '-D__UINT_FAST32_FMTX__="X"', '-D__UINT_FAST32_FMTo__="o"', '-D__UINT_FAST32_FMTu__="u"', '-D__UINT_FAST32_FMTx__="x"', '-D__UINT_FAST32_MAX__=4294967295U', '-D__UINT_FAST32_TYPE__=unsigned int', '-D__UINT_FAST64_FMTX__="lX"', '-D__UINT_FAST64_FMTo__="lo"', '-D__UINT_FAST64_FMTu__="lu"', '-D__UINT_FAST64_FMTx__="lx"', '-D__UINT_FAST64_MAX__=18446744073709551615UL', '-D__UINT_FAST64_TYPE__=long unsigned int', '-D__UINT_FAST8_FMTX__="hhX"', '-D__UINT_FAST8_FMTo__="hho"', '-D__UINT_FAST8_FMTu__="hhu"', '-D__UINT_FAST8_FMTx__="hhx"', '-D__UINT_FAST8_MAX__=255', '-D__UINT_FAST8_TYPE__=unsigned char', '-D__UINT_LEAST16_FMTX__="hX"', '-D__UINT_LEAST16_FMTo__="ho"', '-D__UINT_LEAST16_FMTu__="hu"', '-D__UINT_LEAST16_FMTx__="hx"', '-D__UINT_LEAST16_MAX__=65535', '-D__UINT_LEAST16_TYPE__=unsigned short', '-D__UINT_LEAST32_FMTX__="X"', '-D__UINT_LEAST32_FMTo__="o"', '-D__UINT_LEAST32_FMTu__="u"', '-D__UINT_LEAST32_FMTx__="x"', '-D__UINT_LEAST32_MAX__=4294967295U', '-D__UINT_LEAST32_TYPE__=unsigned int', '-D__UINT_LEAST64_FMTX__="lX"', '-D__UINT_LEAST64_FMTo__="lo"', '-D__UINT_LEAST64_FMTu__="lu"', '-D__UINT_LEAST64_FMTx__="lx"', '-D__UINT_LEAST64_MAX__=18446744073709551615UL', '-D__UINT_LEAST64_TYPE__=long unsigned int', '-D__UINT_LEAST8_FMTX__="hhX"', '-D__UINT_LEAST8_FMTo__="hho"', '-D__UINT_LEAST8_FMTu__="hhu"', '-D__UINT_LEAST8_FMTx__="hhx"', '-D__UINT_LEAST8_MAX__=255', '-D__UINT_LEAST8_TYPE__=unsigned char', '-D__USER_LABEL_PREFIX__', '-D__VERSION__="Clang 10.0.0 "', '-D__WCHAR_MAX__=2147483647', '-D__WCHAR_TYPE__=int', '-D__WCHAR_WIDTH__=32', '-D__WINT_MAX__=4294967295U', '-D__WINT_TYPE__=unsigned int', '-D__WINT_UNSIGNED__=1', '-D__WINT_WIDTH__=32', '-D__amd64=1', '-D__amd64__=1', '-D__clang__=1', '-D__clang_major__=10', '-D__clang_minor__=0', '-D__clang_patchlevel__=0', '-D__clang_version__="10.0.0 "', '-D__code_model_small_=1', '-D__gnu_linux__=1', '-D__k8=1', '-D__k8__=1', '-D__linux=1', '-D__linux__=1', '-D__llvm__=1', '-D__seg_fs=__attribute__((address_space(257)))', '-D__seg_gs=__attribute__((address_space(256)))', '-D__tune_k8__=1', '-D__unix=1', '-D__unix__=1', '-D__x86_64=1', '-D__x86_64__=1'] [ECC:DEBUG]:[view_config.py]:[__get_default_flags]:[Thread-20]: Tokeninzing default flags [ECC:DEBUG]:[flag.py]:[tokenize_list]:[Thread-20]: Tokenizing: ['-x', 'c', '-std=c11', '-I/usr/local/include', '-I/usr/lib/llvm-10/lib/clang/10.0.0/include', '-I/usr/include/x86_64-linux-gnu', '-I/usr/include'] [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Common [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Source [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[get]: for file /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[cached]: 'None' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Searching 'CMakeLists.txt' file in: SearchScope: from_folder: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath, to_folder: /media/manoj/DATA/Masters/Projects/code/ws/kazmath [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'CMakeLists.txt' file: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/CMakeLists.txt [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Skipping file ''. [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: No line starts with: '['project(', 'project (']' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'CMakeLists.txt' file: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt [ECC:DEBUG]:[file.py]:[contains]:[Thread-20]: found needed line: 'PROJECT(kazmath)' [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[current]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[catkinizer.py]:[catkinize_if_needed]:[Thread-20]: Not a catkin project. [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[generate new db] [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c exists. [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Prefix paths to prepend: [] [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Prepended prefix paths: [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Updated CMAKE_PREFIX_PATH: [ECC:DEBUG]:[cmake_file.py]:[__compile_cmake]:[Thread-20]: running command: ['/home/manoj/.local/apps/cmake/bin/cmake', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-G', 'Ninja', '-DCMAKE_C_COMPILER=clang', '-DCMAKE_CXX_COMPILER=clang++', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath', '-DCMAKE_TOOLCHAIN_FILE=/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/ECC-Toolchain.cmake'] [ECC:DEBUG]:[cmake_file.py]:[__compile_cmake]:[Thread-20]: Cmake produced output: Building JNI wrapper Building lkazmath wrapper -- Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) Unable to build Lua bindings as lua was not installed on the system -- Configuring done -- Generating done -- Build files have been written to: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c [ECC:DEBUG]:[file.py]:[update_mod_time]:[Thread-20]: updating modification time for file '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Searching 'compile_commands.json' file in: SearchScope: from_folder: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c, to_folder: / [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'compile_commands.json' file: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Nothing to search for in file so its ok. [ECC:DEBUG]:[compilation_db.py]:[_get_db_path]:[Thread-20]: Current compilation db path: '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[file.py]:[is_unchanged]:[Thread-20]: never seen file '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' before. Updating. [ECC:DEBUG]:[compilation_db.py]:[_load_current_db]:[Thread-20]: Loading new compilation db. [ECC:DEBUG]:[compilation_db.py]:[_load_current_db]:[Thread-20]: Putting new db into cache: '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[file.py]:[update_mod_time]:[Thread-20]: updating modification time for file '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[flag.py]:[tokenize_list]:[Thread-20]: Tokenizing: ['/usr/bin/clang', '-DJkazmath_EXPORTS', '-D_DEFAULT_SOURCE', '-Ijava/jni', '-I/home/manoj/.local/apps/jdk11/include', '-I/home/manoj/.local/apps/jdk11/include/linux', '-I/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath', '-fPIC', '-Wall', '-g', '-std=c99', '-o', 'java/CMakeFiles/Jkazmath.dir/__/kazmath/mat4.c.o', '-c', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c'] [ECC:DEBUG]:[flag.py]:[indicates_flag]:[Thread-20]: '/usr/bin/clang' doesn't start with any valid flag prefix: ['-'] [ECC:DEBUG]:[file.py]:[expand_all]:[Thread-20]: Populated 'java/jni' to '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/java/jni' [ECC:DEBUG]:[flag.py]:[indicates_flag]:[Thread-20]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c' doesn't start with any valid flag prefix: ['-'] [ECC:DEBUG]:[view_config.py]:[__load_source_flags]:[Thread-20]: flags generated from 'CMakeLists.txt'. [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Merge [ECC:DEBUG]:[view_config.py]:[__merge_flags]:[Thread-20]: lang flags: [(-x c), (-std=c11), (-I/usr/local/include), (-I/usr/lib/llvm-10/lib/clang/10.0.0/include), (-I/usr/include/x86_64-linux-gnu), (-I/usr/include)] [ECC:DEBUG]:[view_config.py]:[__merge_flags]:[Thread-20]: Removing default std flag: '-std=c11' in favor of: '-std=c99' [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Appending and filtering flags with ignore patterns: ['some_flag_pattern*', '-W_other_pattern_$project_path*'] [ECC:DEBUG]:[lib_complete.py]:[update]:[Thread-20]: view is 30 [ECC:DEBUG]:[lib_complete.py]:[update]:[Thread-20]: translation unit does not exist. Creating. [ECC:DEBUG]:[lib_complete.py]:[parse_tu]:[Thread-20]: clang flags are: ['-c', '-fsyntax-only', '-x', 'c', '-I', '/usr/local/include', '-I', '/usr/lib/llvm-10/lib/clang/10.0.0/include', '-I', '/usr/include/x86_64-linux-gnu', '-I', '/usr/include', '-DJkazmath_EXPORTS', '-D_DEFAULT_SOURCE', '-I', '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/java/jni', '-I', '/home/manoj/.local/apps/jdk11/include', '-I', '/home/manoj/.local/apps/jdk11/include/linux', '-I', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath', '-fPIC', '-Wall', '-g', '-std=c99', '-o', 'java/CMakeFiles/Jkazmath.dir/__/kazmath/mat4.c.o', '-I', '/src'] [ECC:DEBUG]:[lib_complete.py]:[parse_tu]:[Thread-20]: compilation started for view id: 30 [ECC:DEBUG]:[lib_complete.py]:[parse_tu]:[Thread-20]: compilation done in 0.04292631149291992 seconds [ECC:DEBUG]:[lib_complete.py]:[update]:[Thread-20]: reparsing translation_unit for view 30 [ECC:DEBUG]:[lib_complete.py]:[update]:[Thread-20]: reparsed in 0.07622122764587402 seconds [ECC:DEBUG]:[popup_error_vis.py]:[generate]:[Thread-20]: Generating error regions for view 30 [ECC:DEBUG]:[popup_error_vis.py]:[generate]:[Thread-20]: 1 error regions ready [ECC:DEBUG]:[popup_error_vis.py]:[show_errors]:[Thread-20]: Showing error regions: [] [ECC:DEBUG]:[popup_error_vis.py]:[show_errors]:[Thread-20]: Showing warning regions: [] [ECC:DEBUG]:[EasyClangComplete.py]:[config_updated]:[Thread-20]: updated config: [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[EasyClangComplete.py]:[on_activated_async]:[Dummy-7]: on_activated_async view id 30 [ECC:DEBUG]:[view_config_manager.py]:[load_for_view]:[Thread-20]: Config exists for path: 30 [ECC:INFO]:[view_config.py]:[__init_completer]:[Thread-20]: init completer based on libclang [ECC:DEBUG]:[lib_complete.py]:[__init__]:[Thread-20]: using bundled cindex: EasyClangComplete.plugin.clang.cindex50 [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete exists. [ECC:DEBUG]:[compiler_builtins.py]:[__init__]:[Thread-20]: Generating default flags from file 'ECC_temp_file.cpp' in folder '/tmp/EasyClangComplete' [ECC:DEBUG]:[compiler_builtins.py]:[__generate_flags]:[Thread-20]: Using cached default flags. [ECC:DEBUG]:[view_config.py]:[__get_default_flags]:[Thread-20]: Tokeninzing default flags [ECC:DEBUG]:[flag.py]:[tokenize_list]:[Thread-20]: Tokenizing: ['-x', 'c', '-std=c11', '-I/usr/local/include', '-I/usr/lib/llvm-10/lib/clang/10.0.0/include', '-I/usr/include/x86_64-linux-gnu', '-I/usr/include'] [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Common [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Source [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[get]: for file /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[cached]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Searching 'CMakeLists.txt' file in: SearchScope: from_folder: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath, to_folder: /media/manoj/DATA/Masters/Projects/code/ws/kazmath [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'CMakeLists.txt' file: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/CMakeLists.txt [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Skipping file ''. [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: No line starts with: '['project(', 'project (']' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'CMakeLists.txt' file: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt [ECC:DEBUG]:[file.py]:[contains]:[Thread-20]: found needed line: 'PROJECT(kazmath)' [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[current]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]: found cached CMakeLists.txt. [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c exists. [ECC:DEBUG]:[catkinizer.py]:[catkinize_if_needed]:[Thread-20]: Not a catkin project. [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[generate new db] [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c exists. [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Prefix paths to prepend: [] [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Prepended prefix paths: [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Updated CMAKE_PREFIX_PATH: [ECC:DEBUG]:[cmake_file.py]:[__compile_cmake]:[Thread-20]: running command: ['/home/manoj/.local/apps/cmake/bin/cmake', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-G', 'Ninja', '-DCMAKE_C_COMPILER=clang', '-DCMAKE_CXX_COMPILER=clang++', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath', '-DCMAKE_TOOLCHAIN_FILE=/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/ECC-Toolchain.cmake'] [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[cmake_file.py]:[__compile_cmake]:[Thread-20]: Cmake produced output: Building JNI wrapper Building lkazmath wrapper -- Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) Unable to build Lua bindings as lua was not installed on the system -- Configuring done -- Generating done -- Build files have been written to: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c [ECC:DEBUG]:[file.py]:[update_mod_time]:[Thread-20]: updating modification time for file '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Searching 'compile_commands.json' file in: SearchScope: from_folder: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c, to_folder: / [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'compile_commands.json' file: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Nothing to search for in file so its ok. [ECC:DEBUG]:[compilation_db.py]:[_get_db_path]:[Thread-20]: Current compilation db path: '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[compilation_db.py]:[_load_current_db]:[Thread-20]: Loading new compilation db. [ECC:DEBUG]:[compilation_db.py]:[_load_current_db]:[Thread-20]: Putting new db into cache: '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[file.py]:[update_mod_time]:[Thread-20]: updating modification time for file '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[flag.py]:[tokenize_list]:[Thread-20]: Tokenizing: ['/usr/bin/clang', '-DJkazmath_EXPORTS', '-D_DEFAULT_SOURCE', '-Ijava/jni', '-I/home/manoj/.local/apps/jdk11/include', '-I/home/manoj/.local/apps/jdk11/include/linux', '-I/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath', '-fPIC', '-Wall', '-g', '-std=c99', '-o', 'java/CMakeFiles/Jkazmath.dir/__/kazmath/mat4.c.o', '-c', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c'] [ECC:DEBUG]:[flag.py]:[indicates_flag]:[Thread-20]: '/usr/bin/clang' doesn't start with any valid flag prefix: ['-'] [ECC:DEBUG]:[file.py]:[expand_all]:[Thread-20]: Populated 'java/jni' to '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/java/jni' [ECC:DEBUG]:[flag.py]:[indicates_flag]:[Thread-20]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c' doesn't start with any valid flag prefix: ['-'] [ECC:DEBUG]:[view_config.py]:[__load_source_flags]:[Thread-20]: flags generated from 'CMakeLists.txt'. [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Merge [ECC:DEBUG]:[view_config.py]:[__merge_flags]:[Thread-20]: lang flags: [(-x c), (-std=c11), (-I/usr/local/include), (-I/usr/lib/llvm-10/lib/clang/10.0.0/include), (-I/usr/include/x86_64-linux-gnu), (-I/usr/include)] [ECC:DEBUG]:[view_config.py]:[__merge_flags]:[Thread-20]: Removing default std flag: '-std=c11' in favor of: '-std=c99' [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Appending and filtering flags with ignore patterns: ['some_flag_pattern*', '-W_other_pattern_$project_path*'] [ECC:DEBUG]:[view_config.py]:[needs_update]:[Thread-20]: view config needs no update. [ECC:DEBUG]:[file.py]:[is_unchanged]:[Thread-20]: never seen file '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c' before. Updating. [ECC:DEBUG]:[view_config.py]:[update_if_needed]:[Thread-20]: config updates existing completer. [ECC:DEBUG]:[lib_complete.py]:[update]:[Thread-20]: view is 30 [ECC:DEBUG]:[lib_complete.py]:[update]:[Thread-20]: reparsing translation_unit for view 30 [ECC:DEBUG]:[lib_complete.py]:[update]:[Thread-20]: reparsed in 0.014071941375732422 seconds [ECC:DEBUG]:[popup_error_vis.py]:[generate]:[Thread-20]: Generating error regions for view 30 [ECC:DEBUG]:[popup_error_vis.py]:[generate]:[Thread-20]: Removing old error regions [ECC:DEBUG]:[popup_error_vis.py]:[generate]:[Thread-20]: 1 error regions ready [ECC:DEBUG]:[popup_error_vis.py]:[show_errors]:[Thread-20]: Showing error regions: [] [ECC:DEBUG]:[popup_error_vis.py]:[show_errors]:[Thread-20]: Showing warning regions: [] [ECC:DEBUG]:[EasyClangComplete.py]:[config_updated]:[Thread-20]: updated config: [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[view_config_manager.py]:[__remove_old_configs]:[Thread-16]: Skip young config: Age 19.72493290901184 < 1800. View: 30. [ECC:DEBUG]:[view_config_manager.py]:[__remove_old_configs]:[Thread-25]: Skip young config: Age 49.72552514076233 < 1800. View: 30. [ECC:DEBUG]:[EasyClangComplete.py]:[on_activated_async]:[Dummy-7]: on_activated_async view id 30 [ECC:DEBUG]:[view_config_manager.py]:[load_for_view]:[Thread-20]: Config exists for path: 30 [ECC:INFO]:[view_config.py]:[__init_completer]:[Thread-20]: init completer based on libclang [ECC:DEBUG]:[lib_complete.py]:[__init__]:[Thread-20]: using bundled cindex: EasyClangComplete.plugin.clang.cindex50 [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete exists. [ECC:DEBUG]:[compiler_builtins.py]:[__init__]:[Thread-20]: Generating default flags from file 'ECC_temp_file.cpp' in folder '/tmp/EasyClangComplete' [ECC:DEBUG]:[compiler_builtins.py]:[__generate_flags]:[Thread-20]: Using cached default flags. [ECC:DEBUG]:[view_config.py]:[__get_default_flags]:[Thread-20]: Tokeninzing default flags [ECC:DEBUG]:[flag.py]:[tokenize_list]:[Thread-20]: Tokenizing: ['-x', 'c', '-std=c11', '-I/usr/local/include', '-I/usr/lib/llvm-10/lib/clang/10.0.0/include', '-I/usr/include/x86_64-linux-gnu', '-I/usr/include'] [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Common [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Source [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[get]: for file /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[cached]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Searching 'CMakeLists.txt' file in: SearchScope: from_folder: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath, to_folder: /media/manoj/DATA/Masters/Projects/code/ws/kazmath [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'CMakeLists.txt' file: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/CMakeLists.txt [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Skipping file ''. [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: No line starts with: '['project(', 'project (']' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'CMakeLists.txt' file: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt [ECC:DEBUG]:[file.py]:[contains]:[Thread-20]: found needed line: 'PROJECT(kazmath)' [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[current]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]: found cached CMakeLists.txt. [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c exists. [ECC:DEBUG]:[catkinizer.py]:[catkinize_if_needed]:[Thread-20]: Not a catkin project. [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[generate new db] [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c exists. [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Prefix paths to prepend: [] [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Prepended prefix paths: [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Updated CMAKE_PREFIX_PATH: [ECC:DEBUG]:[cmake_file.py]:[__compile_cmake]:[Thread-20]: running command: ['/home/manoj/.local/apps/cmake/bin/cmake', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-G', 'Ninja', '-DCMAKE_C_COMPILER=clang', '-DCMAKE_CXX_COMPILER=clang++', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath', '-DCMAKE_TOOLCHAIN_FILE=/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/ECC-Toolchain.cmake'] [ECC:DEBUG]:[cmake_file.py]:[__compile_cmake]:[Thread-20]: Cmake produced output: Building JNI wrapper Building lkazmath wrapper -- Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) Unable to build Lua bindings as lua was not installed on the system -- Configuring done -- Generating done -- Build files have been written to: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c [ECC:DEBUG]:[file.py]:[update_mod_time]:[Thread-20]: updating modification time for file '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Searching 'compile_commands.json' file in: SearchScope: from_folder: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c, to_folder: / [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'compile_commands.json' file: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Nothing to search for in file so its ok. [ECC:DEBUG]:[compilation_db.py]:[_get_db_path]:[Thread-20]: Current compilation db path: '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[compilation_db.py]:[_load_current_db]:[Thread-20]: Loading new compilation db. [ECC:DEBUG]:[compilation_db.py]:[_load_current_db]:[Thread-20]: Putting new db into cache: '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[file.py]:[update_mod_time]:[Thread-20]: updating modification time for file '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[flag.py]:[tokenize_list]:[Thread-20]: Tokenizing: ['/usr/bin/clang', '-DJkazmath_EXPORTS', '-D_DEFAULT_SOURCE', '-Ijava/jni', '-I/home/manoj/.local/apps/jdk11/include', '-I/home/manoj/.local/apps/jdk11/include/linux', '-I/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath', '-fPIC', '-Wall', '-g', '-std=c99', '-o', 'java/CMakeFiles/Jkazmath.dir/__/kazmath/mat4.c.o', '-c', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c'] [ECC:DEBUG]:[flag.py]:[indicates_flag]:[Thread-20]: '/usr/bin/clang' doesn't start with any valid flag prefix: ['-'] [ECC:DEBUG]:[file.py]:[expand_all]:[Thread-20]: Populated 'java/jni' to '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/java/jni' [ECC:DEBUG]:[flag.py]:[indicates_flag]:[Thread-20]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c' doesn't start with any valid flag prefix: ['-'] [ECC:DEBUG]:[view_config.py]:[__load_source_flags]:[Thread-20]: flags generated from 'CMakeLists.txt'. [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Merge [ECC:DEBUG]:[view_config.py]:[__merge_flags]:[Thread-20]: lang flags: [(-x c), (-std=c11), (-I/usr/local/include), (-I/usr/lib/llvm-10/lib/clang/10.0.0/include), (-I/usr/include/x86_64-linux-gnu), (-I/usr/include)] [ECC:DEBUG]:[view_config.py]:[__merge_flags]:[Thread-20]: Removing default std flag: '-std=c11' in favor of: '-std=c99' [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Appending and filtering flags with ignore patterns: ['some_flag_pattern*', '-W_other_pattern_$project_path*'] [ECC:DEBUG]:[view_config.py]:[needs_update]:[Thread-20]: view config needs no update. [ECC:DEBUG]:[view_config.py]:[needs_reparse]:[Thread-20]: view config needs no reparse. [ECC:DEBUG]:[EasyClangComplete.py]:[config_updated]:[Thread-20]: updated config: [ECC:DEBUG]:[EasyClangComplete.py]:[on_activated_async]:[Dummy-7]: on_activated_async view id 30 [ECC:DEBUG]:[view_config_manager.py]:[load_for_view]:[Thread-20]: Config exists for path: 30 [ECC:INFO]:[view_config.py]:[__init_completer]:[Thread-20]: init completer based on libclang [ECC:DEBUG]:[lib_complete.py]:[__init__]:[Thread-20]: using bundled cindex: EasyClangComplete.plugin.clang.cindex50 [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete exists. [ECC:DEBUG]:[compiler_builtins.py]:[__init__]:[Thread-20]: Generating default flags from file 'ECC_temp_file.cpp' in folder '/tmp/EasyClangComplete' [ECC:DEBUG]:[compiler_builtins.py]:[__generate_flags]:[Thread-20]: Using cached default flags. [ECC:DEBUG]:[view_config.py]:[__get_default_flags]:[Thread-20]: Tokeninzing default flags [ECC:DEBUG]:[flag.py]:[tokenize_list]:[Thread-20]: Tokenizing: ['-x', 'c', '-std=c11', '-I/usr/local/include', '-I/usr/lib/llvm-10/lib/clang/10.0.0/include', '-I/usr/include/x86_64-linux-gnu', '-I/usr/include'] [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Common [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Source [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[get]: for file /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[cached]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Searching 'CMakeLists.txt' file in: SearchScope: from_folder: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath, to_folder: /media/manoj/DATA/Masters/Projects/code/ws/kazmath [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'CMakeLists.txt' file: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/CMakeLists.txt [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Skipping file ''. [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: No line starts with: '['project(', 'project (']' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'CMakeLists.txt' file: /media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt [ECC:DEBUG]:[file.py]:[contains]:[Thread-20]: found needed line: 'PROJECT(kazmath)' [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[current]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]: found cached CMakeLists.txt. [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c exists. [ECC:DEBUG]:[catkinizer.py]:[catkinize_if_needed]:[Thread-20]: Not a catkin project. [ECC:DEBUG]:[cmake_file.py]:[get_flags]:[Thread-20]: [cmake]:[generate new db] [ECC:DEBUG]:[file.py]:[get_temp_dir]:[Thread-20]: Folder /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c exists. [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Prefix paths to prepend: [] [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Prepended prefix paths: [ECC:DEBUG]:[cmake_file.py]:[__prepend_prefix_paths]:[Thread-20]: Updated CMAKE_PREFIX_PATH: [ECC:DEBUG]:[cmake_file.py]:[__compile_cmake]:[Thread-20]: running command: ['/home/manoj/.local/apps/cmake/bin/cmake', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-G', 'Ninja', '-DCMAKE_C_COMPILER=clang', '-DCMAKE_CXX_COMPILER=clang++', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath', '-DCMAKE_TOOLCHAIN_FILE=/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/ECC-Toolchain.cmake'] [ECC:DEBUG]:[cmake_file.py]:[__compile_cmake]:[Thread-20]: Cmake produced output: Building JNI wrapper Building lkazmath wrapper -- Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR) Unable to build Lua bindings as lua was not installed on the system -- Configuring done -- Generating done -- Build files have been written to: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c [ECC:DEBUG]:[file.py]:[update_mod_time]:[Thread-20]: updating modification time for file '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/CMakeLists.txt' [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Searching 'compile_commands.json' file in: SearchScope: from_folder: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c, to_folder: / [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Found 'compile_commands.json' file: /tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json [ECC:DEBUG]:[file.py]:[search]:[Thread-20]: Nothing to search for in file so its ok. [ECC:DEBUG]:[compilation_db.py]:[_get_db_path]:[Thread-20]: Current compilation db path: '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[compilation_db.py]:[_load_current_db]:[Thread-20]: Loading new compilation db. [ECC:DEBUG]:[compilation_db.py]:[_load_current_db]:[Thread-20]: Putting new db into cache: '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[file.py]:[update_mod_time]:[Thread-20]: updating modification time for file '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/compile_commands.json' [ECC:DEBUG]:[flag.py]:[tokenize_list]:[Thread-20]: Tokenizing: ['/usr/bin/clang', '-DJkazmath_EXPORTS', '-D_DEFAULT_SOURCE', '-Ijava/jni', '-I/home/manoj/.local/apps/jdk11/include', '-I/home/manoj/.local/apps/jdk11/include/linux', '-I/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath', '-fPIC', '-Wall', '-g', '-std=c99', '-o', 'java/CMakeFiles/Jkazmath.dir/__/kazmath/mat4.c.o', '-c', '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c'] [ECC:DEBUG]:[flag.py]:[indicates_flag]:[Thread-20]: '/usr/bin/clang' doesn't start with any valid flag prefix: ['-'] [ECC:DEBUG]:[file.py]:[expand_all]:[Thread-20]: Populated 'java/jni' to '/tmp/EasyClangComplete/cmake_builds/3ecdac89689b8e197bdce84c38632d4c/java/jni' [ECC:DEBUG]:[flag.py]:[indicates_flag]:[Thread-20]: '/media/manoj/DATA/Masters/Projects/code/ws/kazmath/kazmath/mat4.c' doesn't start with any valid flag prefix: ['-'] [ECC:DEBUG]:[view_config.py]:[__load_source_flags]:[Thread-20]: flags generated from 'CMakeLists.txt'. [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Merge [ECC:DEBUG]:[view_config.py]:[__merge_flags]:[Thread-20]: lang flags: [(-x c), (-std=c11), (-I/usr/local/include), (-I/usr/lib/llvm-10/lib/clang/10.0.0/include), (-I/usr/include/x86_64-linux-gnu), (-I/usr/include)] [ECC:DEBUG]:[view_config.py]:[__merge_flags]:[Thread-20]: Removing default std flag: '-std=c11' in favor of: '-std=c99' [ECC:DEBUG]:[view_config.py]:[__generate_essentials]:[Thread-20]: Appending and filtering flags with ignore patterns: ['some_flag_pattern*', '-W_other_pattern_$project_path*'] [ECC:DEBUG]:[view_config.py]:[needs_update]:[Thread-20]: view config needs no update. [ECC:DEBUG]:[view_config.py]:[needs_reparse]:[Thread-20]: view config needs no reparse. [ECC:DEBUG]:[EasyClangComplete.py]:[config_updated]:[Thread-20]: updated config: [ECC:DEBUG]:[subl_bridge.py]:[is_valid_view]:[Dummy-7]: view file_name is None [ECC:DEBUG]:[view_config_manager.py]:[__remove_old_configs]:[Thread-26]: Skip young config: Age 8.162062168121338 < 1800. View: 30. ```
Settings: ``` { "flags_sources": [ { "file": "CMakeLists.txt", "flags": [ "-G", "Ninja", "-DCMAKE_C_COMPILER=clang", "-DCMAKE_CXX_COMPILER=clang++", ] }, { "file": "compile_commands.json" }, { "file": "CppProperties.json" }, { "file": "c_cpp_properties.json" }, { "file": ".clang_complete" }], "lazy_flag_parsing": true, "show_errors": true, "gutter_style": "color", "linter_mark_style": "outline", "popup_maximum_width": 1800, "popup_maximum_height": 1000, "triggers": [".", "->", "::", " ", " ", "(", "["], "use_libclang": true, "use_default_includes": true, "use_default_definitions": true, "clang_binary": "clang++", "cmake_binary": "/home/manoj/.local/apps/cmake/bin/cmake", "autocomplete_all": true, "show_type_info": true, "show_type_body": true, "show_index_references": true, "force_unix_includes": true, "target_compilers": { "C": "clang", "CPP": "clang++", "OBJECTIVE_C": null, "OBJECTIVE_CPP": null }, } ```
niosus commented 3 years ago

@manojbaishya thanks for reporting this. I will try to look into it this week. This really should not happen, so it is clearly a bug.

manojbaishya commented 3 years ago

Hi, any luck with the error? :smile:

niosus commented 3 years ago

Hey, didn't really look at this during the holidays. Let's see if I can fix this tonight :)

niosus commented 3 years ago

@manojbaishya it would be awesome if you could check if the PR above fixes the issue for you. Otherwise, you can wait a couple of days until I release a version with this in.

manojbaishya commented 3 years ago

Thanks a lot! It works perfectly now :)

https://user-images.githubusercontent.com/28330014/104123067-e6e1d580-536e-11eb-857e-4615e8d2c24b.mp4

niosus commented 3 years ago

@manojbaishya glad it is fixed now. I will reopen this so that it is closed with a PR instead.