microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.52k stars 1.55k forks source link

I just want to know if somebody's vscode for c++ can auto-completion. #4859

Closed stanpcf closed 3 years ago

stanpcf commented 4 years ago

Type: LanguageService

Describe the bug

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Additional context

sean-mcmanus commented 4 years ago

Is your C_Cpp.intelliSenseEngine set to "Default"? Are there any squiggles in the file? Does the configuration info appear correct when you run C/C++: Log Diagnostics?

stanpcf commented 4 years ago

Is your C_Cpp.intelliSenseEngine set to "Default"? Are there any squiggles in the file? Does the configuration info appear correct when you run C/C++: Log Diagnostics?

C_Cpp.intelliSenseEngine set to "Default" is useless. my project can make && run successful.

sean-mcmanus commented 4 years ago

Can you share the log from C/C++: Log Diagnostics or the C/C++ log when you set C_Cpp.loggingLevel to "Debug"?

Our extension doesn't automatically process makefiles to extract the correct includes and defines.

stanpcf commented 4 years ago

my settings.json

{
    "C_Cpp.default.includePath": [
        "${workspaceFolder}", 
        "${workspaceFolder}/src",
        "${workspaceFolder}/include",
        "/opt/intel/mkl/include"
    ],
    "files.associations": {
        "iostream": "cpp",
        "array": "cpp",
        "bitset": "cpp",
        "initializer_list": "cpp",
        "vector": "cpp",
        "cctype": "cpp",
        "clocale": "cpp",
        "cmath": "cpp",
        "cstdarg": "cpp",
        "cstddef": "cpp",
        "cstdio": "cpp",
        "cstdlib": "cpp",
        "cstring": "cpp",
        "ctime": "cpp",
        "cwchar": "cpp",
        "cwctype": "cpp",
        "strstream": "cpp",
        "*.tcc": "cpp",
        "complex": "cpp",
        "cstdint": "cpp",
        "deque": "cpp",
        "list": "cpp",
        "unordered_map": "cpp",
        "exception": "cpp",
        "fstream": "cpp",
        "functional": "cpp",
        "iomanip": "cpp",
        "iosfwd": "cpp",
        "istream": "cpp",
        "limits": "cpp",
        "new": "cpp",
        "ostream": "cpp",
        "numeric": "cpp",
        "sstream": "cpp",
        "stdexcept": "cpp",
        "streambuf": "cpp",
        "cfenv": "cpp",
        "cinttypes": "cpp",
        "tuple": "cpp",
        "type_traits": "cpp",
        "utility": "cpp",
        "typeindex": "cpp",
        "typeinfo": "cpp",
        "string": "cpp"
    },
    "C_Cpp.default.configurationProvider": "vector-of-bool.cmake-tools",
    "C_Cpp.intelliSenseEngine": "Default",
    "C_Cpp.loggingLevel": "Debug"
}

where to find Log Diagnostics

stanpcf commented 4 years ago

vscode info:

version: 1.41.1 (user setup) commit: 26076a4de974ead31f97692a0d32f90d735645c0 date: 2019-12-18T14:58:56.166Z Electron: 6.1.5 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Windows_NT x64 10.0.18362

I use vscode-ssh for remote develop. remote os is Red Hat 4.8.3-9

sean-mcmanus commented 4 years ago

C/C++: Log Diagnostics is a command issued from the View->Command Palette. You should have the file that isn't auto-completing correct active when you run the command.

stanpcf commented 4 years ago

C/C++: Log Diagnostics

-------- Diagnostics - 2020-1-17 13:27:26
Version: 0.26.2
Current Configuration:
{
    "name": "Linux",
    "defines": [],
    "compilerPath": "/usr/lib64/ccache/clang",
    "knownCompilers": [
        {
            "path": "/usr/lib64/ccache/clang",
            "isC": true
        },
        {
            "path": "/usr/lib64/ccache/clang++",
            "isC": false
        },
        {
            "path": "/usr/lib64/ccache/gcc",
            "isC": true
        },
        {
            "path": "/usr/lib64/ccache/g++",
            "isC": false
        },
        {
            "path": "/usr/bin/clang",
            "isC": true
        },
        {
            "path": "/usr/bin/clang++",
            "isC": false
        },
        {
            "path": "/usr/bin/gcc",
            "isC": true
        },
        {
            "path": "/usr/bin/g++",
            "isC": false
        },
        {
            "path": "/usr/bin/cpp",
            "isC": false
        },
        {
            "path": "/usr/lib64/ccache/clang",
            "isC": false
        }
    ],
    "cStandard": "c11",
    "cppStandard": "c++14",
    "intelliSenseMode": "clang-x64",
    "includePath": [
        "${workspaceFolder}",
        "${workspaceFolder}/src",
        "${workspaceFolder}/include"
    ],
    "compilerArgs": [],
    "configurationProvider": "vector-of-bool.cmake-tools",
    "browse": {
        "path": [
            "${workspaceFolder}",
            "${workspaceFolder}/src",
            "${workspaceFolder}/include"
        ],
        "limitSymbolsToIncludedHeaders": true
    }
}
Translation Unit Mappings:
[ /myproject_space/src/io/data_reader.cpp ]:
    /myproject_space/src/io/data_reader.cpp
Translation Unit Configurations:
[/myproject_space/src/io/data_reader.cpp ]:
    Process ID: 20990
    Memory Usage: 68 MB
    Compiler Path: /usr/bin/clang++
    Includes:
        /myproject_space/include
        /opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include
        /usr/include/c++/4.8.2
        /usr/include/c++/4.8.2/x86_64-redhat-linux
        /usr/include/c++/4.8.2/backward
        /usr/local/include
        /usr/lib/clang/3.4.2/include
        /usr/include
    Standard Version: c++11
    IntelliSense Mode: clang-x64
    Other Flags:
        --clang
        --clang_version=30402
Total Memory Usage: 68 MB

image

sean-mcmanus commented 4 years ago

Your set /usr/lib64/ccache/clang with C++14 is failing to be queried for includes/defines and is falling back to /usr/bin/clang++ with C++11, which is a very old 3.4 version, which may be causing some issues. The screenshot also shows a squiggle -- looks like a header file can't be found.

However, those configuration issues shouldn't normally affect the autocomplete unless there's some unusual parser failure. What happens when you hover over the fin_lin_count variable?

stanpcf commented 4 years ago

nothing shows when I hover over the fin_line_count variable.

below show the autocomplete. image

image

sean-mcmanus commented 4 years ago

Looks like our parser is hitting some bad state around the fin_line_count definition, possibly due to the usage of the old clang version (3.4) or the intel compiler extensions. Are you able to provide an isolated repro or code sample, preferably using -E to generate a preprocessed file? Unfortunately, I don't believe we'll be able to fix this without a repro (and we haven't heard from other users hitting a similar issue).

sean-mcmanus commented 4 years ago

Also, if you change the C_Cpp.errorSquiggles setting to "Enabled" instead of "EnabledIfIncludesResolve" you could potentially see the errors our parser is hitting which could explain why parsing is failing around that definition. In particular, the missing definitions in data_reader.hpp or it's missing dependency could be leading to the incorrect parsing.

stanpcf commented 4 years ago

code click here

sean-mcmanus commented 4 years ago

@stanpcf The headers are missing like data_reader.hpp -- is that available or can you compile with -E to get a preprocessed file?

stanpcf commented 4 years ago

that is avaiable to use

cmake -H. -Bbuild
cmake --build build -- -j VERBOSE=1
sean-mcmanus commented 4 years ago

Everything autocomples correctly for me (Ubuntu 18): image

I believe your compiler may be too old for our extension to handle correctly. Can you try upgrading gcc or clang?

I'm using...

    Compiler Path: /usr/bin/g++-8
    Includes:
        /.../GBDT-PL/include
        /usr/include/c++/8
        /usr/include/x86_64-linux-gnu/c++/8
        /usr/include/c++/8/backward
        /usr/lib/gcc/x86_64-linux-gnu/8/include
        /usr/local/include
        /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed
        /usr/include/x86_64-linux-gnu
        /usr/include
    Standard Version: c++11
    IntelliSense Mode: gcc-x64
    Other Flags:
        --g++
        --gnu_version=80300
stanpcf commented 4 years ago

vscode info:

version: 1.41.1 (user setup) commit: 26076a4de974ead31f97692a0d32f90d735645c0 date: 2019-12-18T14:58:56.166Z Electron: 6.1.5 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Windows_NT x64 10.0.18362

I use vscode-ssh for remote develop. remote os is Red Hat 4.8.3-9

Something is wrong when local os is windows. But everything correct with Mac. I use remote-ssh to develop. Below show work with mac. image

bobbrow commented 4 years ago

Can you hover over the red squiggle here: image

and tell us what it says (on Windows)? It seems some dependency is missing. Please let us know if you are also using the CMake Tools extension as the "configurationProvider" on Windows as well.

Thank you.

stanpcf commented 4 years ago

the red squiggle

No windows computer nearby. But on Mac shows(Now I had rename the dir from io to utils) image the red squiggle on windows shows as same as mac days ago.

image

configurationProvider

c_cpp_properties.json is auto generated, I had not edit this file image

bobbrow commented 4 years ago

Can you run the "C++: Log Diagnostics" command? This should tell you what the include path was determined to be. If "omp.h" is not in one of those folders, then that would explain why there is a squiggle.

xzhang515 commented 4 years ago

Hi, I'm having the same problem, would you please help to check my log? Thanks!

-------- Diagnostics - 2/27/2020, 6:56:25 PM Version: 0.26.3 Current Configuration: { "name": "Mac", "includePath": [ "${workspaceFolder}/" ], "defines": [], "macFrameworkPath": [ "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks" ], "compilerPath": "/usr/bin/clang", "cStandard": "c11", "cppStandard": "c++17", "intelliSenseMode": "", "configurationProvider": "vector-of-bool.cmake-tools", "compilerArgs": [], "browse": { "path": [ "${workspaceFolder}/" ], "limitSymbolsToIncludedHeaders": true } } Translation Unit Mappings: [ /Users/ModelMeshComputer.cpp ]: Translation Unit Configurations: [ /Users/ModelMeshComputer.cpp ]: Process ID: 92664 Memory Usage: 556 MB Includes: /Users/GfxCore/GL /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 /usr/local/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include Frameworks: /System/Library/Frameworks /Library/Frameworks Defines: BOOST_NO_AUTO_PTR BOOST_NO_CXX14_DECLTYPE_AUTO NDEBUG NDEBUG Standard Version: c++14 IntelliSense Mode: clang-x64 Other Flags: --clang --clang_version=50000 Total Memory Usage: 556 MB

sean-mcmanus commented 4 years ago

Is your clang version supposed to be 5.0? Do you have the correct kit selected with CMake Tools?

xzhang515 commented 4 years ago

Hi,

Thank you for your reply. My clang version is 11.0.0. How to select correct kit with Cmake Tools?

On Feb 27, 2020, at 7:28 PM, Sean McManus notifications@github.com wrote:

Is your clang version supposed to be 5.0? Do you have the correct kit selected with CMake Tools?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-cpptools/issues/4859?email_source=notifications&email_token=ADUGMZSVWQE2ZDLUYB4EYSTRFCAEXA5CNFSM4KIBQDA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENG3CLY#issuecomment-592294191, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUGMZRP4RDX5Z4LVYUE53DRFCAEXANCNFSM4KIBQDAQ.

bobbrow commented 4 years ago

@flysumo I'm going to create a new issue for your problem. This will help us organize the responses better.

@stanpcf, If you can share the "Log Diagnostics" output with us, we can continue to try to help. Otherwise we are unable to proceed and will close the issue.

stanpcf commented 4 years ago

Can you run the "C++: Log Diagnostics" command? This should tell you what the include path was determined to be. If "omp.h" is not in one of those folders, then that would explain why there is a squiggle.

-------- Diagnostics - 2020-3-2 15:32:17 Version: 0.26.3 Current Configuration: { "name": "Linux", "defines": [], "compilerPath": "/usr/lib64/ccache/clang", "cStandard": "c11", "cppStandard": "c++14", "intelliSenseMode": "clang-x64", "configurationProvider": "vector-of-bool.cmake-tools", "compileCommands": "${workspaceFolder}/build/compile_commands.json", "includePath": [ "${workspaceFolder}", "${workspaceFolder}/src", "${workspaceFolder}/include" ], "compilerArgs": [], "browse": { "path": [ "${workspaceFolder}", "${workspaceFolder}/src", "${workspaceFolder}/include" ], "limitSymbolsToIncludedHeaders": true } } Translation Unit Mappings: [/myproject_space/src/utils/data_reader.cpp ]: /myproject_space/src/utils/data_reader.cpp Translation Unit Configurations: [/myproject_space/src/utils/data_reader.cpp ]: Process ID: 15819 Memory Usage: 76 MB Includes: /myproject_space/include /usr/include/c++/4.8.2 /usr/local/include /usr/lib/clang/3.4.2/include /usr/include Defines: lineargbm_EXPORTS Standard Version: c++11 IntelliSense Mode: gcc-x64 Other Flags: --g++ --gnu_version=80100 Total Memory Usage: 76 MB

sean-mcmanus commented 4 years ago

As I mentioned previously, our extension is failing to query /usr/lib64/ccache/clang, which could lead to problem if anything requires correct system includes/defines. If you could run /usr/lib64/ccache/clang -Wp,-v -E -dD -x c++ /dev/null you could see system includes/defines that we normally would try to process.

Are you able to locate omp.h? It appears to be an openmp library, which could require a path that is queried from the compiler.

However, you might need to add flags to the compilerArgs setting to get gcc to add path to openmp.

stanpcf commented 4 years ago

As I mentioned previously, our extension is failing to query /usr/lib64/ccache/clang, which could lead to problem if anything requires correct system includes/defines. If you could run /usr/lib64/ccache/clang -Wp,-v -E -dD -x c++ /dev/null you could see system includes/defines that we normally would try to process.

Are you able to locate omp.h? It appears to be an openmp library, which could require a path that is queried from the compiler.

However, you might need to add flags to the compilerArgs setting to get gcc to add path to openmp.

thx for reply, below is log. I can't find omp.h(new to openmp), but code run(cmake && make && run) success with omp.h

(.env) [@tc_60_145 xgb]# /usr/lib64/ccache/clang -Wp,-v -E -dD -x c++ /dev/null
clang -cc1 version 3.4.2 based upon LLVM 3.4.2 default target x86_64-redhat-linux-gnu
ignoring nonexistent directory "/usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/x86_64-redhat-linux/c++/4.8.5"
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include
 /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5
 /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux
 /usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward
 /usr/local/include
 /usr/bin/../lib/clang/3.4.2/include
 /usr/include
End of search list.
# 1 "/dev/null"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
#define __llvm__ 1
#define __clang__ 1
#define __clang_major__ 3
#define __clang_minor__ 4
#define __clang_patchlevel__ 2
#define __clang_version__ "3.4.2 (tags/RELEASE_34/dot2-final)"
#define __GNUC_MINOR__ 2
#define __GNUC_PATCHLEVEL__ 1
#define __GNUC__ 4
#define __GXX_ABI_VERSION 1002
#define __ATOMIC_RELAXED 0
#define __ATOMIC_CONSUME 1
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_RELEASE 3
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_SEQ_CST 5
#define __PRAGMA_REDEFINE_EXTNAME 1
#define __VERSION__ "4.2.1 Compatible Clang 3.4.2 (tags/RELEASE_34/dot2-final)"
#define __CONSTANT_CFSTRINGS__ 1
#define __EXCEPTIONS 1
#define __GXX_RTTI 1
#define __DEPRECATED 1
#define __GNUG__ 4
#define __GXX_WEAK__ 1
#define __private_extern__ extern
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __ORDER_BIG_ENDIAN__ 4321
#define __ORDER_PDP_ENDIAN__ 3412
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define _LP64 1
#define __LP64__ 1
#define __CHAR_BIT__ 8
#define __SCHAR_MAX__ 127
#define __SHRT_MAX__ 32767
#define __INT_MAX__ 2147483647
#define __LONG_MAX__ 9223372036854775807L
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __WCHAR_MAX__ 2147483647
#define __INTMAX_MAX__ 9223372036854775807L
#define __SIZE_MAX__ 18446744073709551615UL
#define __SIZEOF_DOUBLE__ 8
#define __SIZEOF_FLOAT__ 4
#define __SIZEOF_INT__ 4
#define __SIZEOF_LONG__ 8
#define __SIZEOF_LONG_DOUBLE__ 16
#define __SIZEOF_LONG_LONG__ 8
#define __SIZEOF_POINTER__ 8
#define __SIZEOF_SHORT__ 2
#define __SIZEOF_PTRDIFF_T__ 8
#define __SIZEOF_SIZE_T__ 8
#define __SIZEOF_WCHAR_T__ 4
#define __SIZEOF_WINT_T__ 4
#define __SIZEOF_INT128__ 16
#define __INTMAX_TYPE__ long int
#define __UINTMAX_TYPE__ long unsigned int
#define __INTMAX_WIDTH__ 64
#define __PTRDIFF_TYPE__ long int
#define __PTRDIFF_WIDTH__ 64
#define __INTPTR_TYPE__ long int
#define __INTPTR_WIDTH__ 64
#define __SIZE_TYPE__ long unsigned int
#define __SIZE_WIDTH__ 64
#define __WCHAR_TYPE__ int
#define __WCHAR_WIDTH__ 32
#define __WINT_TYPE__ unsigned int
#define __WINT_WIDTH__ 32
#define __SIG_ATOMIC_WIDTH__ 32
#define __CHAR16_TYPE__ unsigned short
#define __CHAR32_TYPE__ unsigned int
#define __FLT_DENORM_MIN__ 1.40129846e-45F
#define __FLT_HAS_DENORM__ 1
#define __FLT_DIG__ 6
#define __FLT_EPSILON__ 1.19209290e-7F
#define __FLT_HAS_INFINITY__ 1
#define __FLT_HAS_QUIET_NAN__ 1
#define __FLT_MANT_DIG__ 24
#define __FLT_MAX_10_EXP__ 38
#define __FLT_MAX_EXP__ 128
#define __FLT_MAX__ 3.40282347e+38F
#define __FLT_MIN_10_EXP__ (-37)
#define __FLT_MIN_EXP__ (-125)
#define __FLT_MIN__ 1.17549435e-38F
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
#define __DBL_HAS_DENORM__ 1
#define __DBL_DIG__ 15
#define __DBL_EPSILON__ 2.2204460492503131e-16
#define __DBL_HAS_INFINITY__ 1
#define __DBL_HAS_QUIET_NAN__ 1
#define __DBL_MANT_DIG__ 53
#define __DBL_MAX_10_EXP__ 308
#define __DBL_MAX_EXP__ 1024
#define __DBL_MAX__ 1.7976931348623157e+308
#define __DBL_MIN_10_EXP__ (-307)
#define __DBL_MIN_EXP__ (-1021)
#define __DBL_MIN__ 2.2250738585072014e-308
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
#define __LDBL_HAS_DENORM__ 1
#define __LDBL_DIG__ 18
#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
#define __LDBL_HAS_INFINITY__ 1
#define __LDBL_HAS_QUIET_NAN__ 1
#define __LDBL_MANT_DIG__ 64
#define __LDBL_MAX_10_EXP__ 4932
#define __LDBL_MAX_EXP__ 16384
#define __LDBL_MAX__ 1.18973149535723176502e+4932L
#define __LDBL_MIN_10_EXP__ (-4931)
#define __LDBL_MIN_EXP__ (-16381)
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
#define __POINTER_WIDTH__ 64
#define __WINT_UNSIGNED__ 1
#define __INT8_TYPE__ char
#define __INT16_TYPE__ short
#define __INT32_TYPE__ int
#define __INT64_TYPE__ long int
#define __INT64_C_SUFFIX__ L
#define __USER_LABEL_PREFIX__ 
#define __FINITE_MATH_ONLY__ 0
#define __GNUC_GNU_INLINE__ 1
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
#define __GCC_ATOMIC_INT_LOCK_FREE 2
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
#define __NO_INLINE__ 1
#define __FLT_EVAL_METHOD__ 0
#define __FLT_RADIX__ 2
#define __DECIMAL_DIG__ 21
#define __amd64__ 1
#define __amd64 1
#define __x86_64 1
#define __x86_64__ 1
#define __k8 1
#define __k8__ 1
#define __tune_k8__ 1
#define __LITTLE_ENDIAN__ 1
#define __REGISTER_PREFIX__ 
#define __NO_MATH_INLINES 1
#define __SSE2__ 1
#define __SSE2_MATH__ 1
#define __SSE__ 1
#define __SSE_MATH__ 1
#define __MMX__ 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
#define unix 1
#define __unix 1
#define __unix__ 1
#define linux 1
#define __linux 1
#define __linux__ 1
#define __gnu_linux__ 1
#define __ELF__ 1
#define _GNU_SOURCE 1
#define __STDC__ 1
#define __STDC_HOSTED__ 1
#define __cplusplus 199711L
#define __STDC_UTF_16__ 1
#define __STDC_UTF_32__ 1

# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/dev/null" 2

(.env) [@tc_60_145 xgb]# cd /opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include
(.env) [@tc_60_145 include]# ls
blas.f90                       mkl_df.h                   mkl_pardiso.fi         mkl_spblas.fi
fftw                           mkl_dfti.f90               mkl_pardiso.h          mkl_spblas.h
ia32                           mkl_dfti.h                 mkl_pblas.h            mkl_trans.fi
i_malloc.h                     mkl_df_types.h             mkl_poisson.f90        mkl_trans.h
intel64                        mkl_direct_blas.h          mkl_poisson.h          mkl_trig_transforms.f90
lapack.f90                     mkl_direct_blas_kernels.h  mkl_rci.f90            mkl_trig_transforms.h
mkl_blacs.h                    mkl_direct_call.fi         mkl_rci.fi             mkl_types.h
mkl_blas.f90                   mkl_direct_call.h          mkl_rci.h              mkl_version.h
mkl_blas.fi                    mkl_direct_lapack.h        mkl_scalapack.h        mkl_vml_defines.h
mkl_blas.h                     mkl_direct_types.h         mkl_service.f90        mkl_vml.f90
mkl_cblas.h                    mkl_dnn.h                  mkl_service.fi         mkl_vml.fi
mkl_cdft.f90                   mkl_dnn_types.h            mkl_service.h          mkl_vml_functions.h
mkl_cdft.h                     mkl_dss.f90                mkl_solvers_ee.f90     mkl_vml.h
mkl_cdft_types.h               mkl_dss.fi                 mkl_solvers_ee.fi      mkl_vml_types.h
mkl_cluster_sparse_solver.f90  mkl_dss.h                  mkl_solvers_ee.h       mkl_vsl_defines.h
mkl_cluster_sparse_solver.fi   mkl.fi                     mkl_sparse_handle.f90  mkl_vsl.f90
mkl_cluster_sparse_solver.h    mkl.h                      mkl_sparse_handle.fi   mkl_vsl.fi
mkl_compact.h                  mkl_lapacke.h              mkl_sparse_handle.h    mkl_vsl_functions.h
mkl_df_defines.h               mkl_lapack.fi              mkl_sparse_qr.f90      mkl_vsl.h
mkl_df.f90                     mkl_lapack.h               mkl_sparse_qr.h        mkl_vsl_subroutine.fi
mkl_df_functions.h             mkl_pardiso.f90            mkl_spblas.f90         mkl_vsl_types.h
sean-mcmanus commented 4 years ago

I see omp.h under /usr/include. Do you have that there?

Also, your output from directly querying clang doesn't match the Log Diagnostics results. Can you enable logging and look for error messages related to querying the compiler also the configuration provider info that we receive from CMake Tools.

stanpcf commented 4 years ago

no omp.h under /usr/include. log diagnostics results shows

initialized
workspace/didChangeConfiguration
IntelliSense Engine = Default.
Autocomplete is enabled.
Enhanced Colorization is enabled.
Error squiggles are enabled if all header dependencies are resolved.
File exclude: **/.git
File exclude: **/.svn
File exclude: **/.hg
File exclude: **/CVS
File exclude: **/.DS_Store
File exclude: **/.vscode
Search exclude: **/node_modules
Search exclude: **/bower_components
Search exclude: **/*.code-search
Search exclude: err
Search exclude: run_dir/*
Search exclude: **/.vscode
Attempting to get defaults from compiler found on the machine: '/usr/lib64/ccache/clang'
terminating child process: 22957
cpptools/queryCompilerDefaults: 1
Attempting to get defaults from compiler found on the machine: '/usr/lib64/ccache/clang'
terminating child process: 22959
terminating child process: 22962
terminating child process: 22966
terminating child process: 22969
Custom browse configuration received: {
  "browsePath": [
    "/myworkspace/include",
    "/myworkspace/src",
    "/myworkspace/src/argmax",
    "/myworkspace/src/booster",
    "/myworkspace/src/datamat",
    "/myworkspace/src/features",
    "/myworkspace/src/histogram",
    "/myworkspace/src/interface",
    "/myworkspace/src/metric",
    "/myworkspace/src/node",
    "/myworkspace/src/objective",
    "/myworkspace/src/tree",
    "/myworkspace/src/utils"
  ],
  "standard": "c++11",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/didChangeCustomBrowseConfiguration
Attempting to get defaults from compiler in "compilerPath" property: '/usr/lib64/ccache/g++'
terminating child process: 22971
terminating child process: 22974
terminating child process: 22977
terminating child process: 22979
Failed to query default include paths and defines for /usr/lib64/ccache/g++.
# 1 "/dev/null"
# 1 "/usr/lib64/ccache//"
# 1 "<built-in>"
#define __STDC__ 1
#define __cplusplus 201103L
#define __STDC_HOSTED__ 1
#define __GNUC__ 4
#define __GNUC_MINOR__ 8
#define __GNUC_PATCHLEVEL__ 5
#define __VERSION__ "4.8.5 20150623 (Red Hat 4.8.5-36)"
#define __GNUC_RH_RELEASE__ 36
#define __ATOMIC_RELAXED 0
#define __ATOMIC_SEQ_CST 5
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_RELEASE 3
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_CONSUME 1
#define __pic__ 2
#define __PIC__ 2
#define __FINITE_MATH_ONLY__ 0
#define _LP64 1
#define __LP64__ 1
#define __SIZEOF_INT__ 4
#define __SIZEOF_LONG__ 8
#define __SIZEOF_LONG_LONG__ 8
#define __SIZEOF_SHORT__ 2
#define __SIZEOF_FLOAT__ 4
#define __SIZEOF_DOUBLE__ 8
#define __SIZEOF_LONG_DOUBLE__ 16
#define __SIZEOF_SIZE_T__ 8
#define __CHAR_BIT__ 8
#define __BIGGEST_ALIGNMENT__ 32
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __ORDER_BIG_ENDIAN__ 4321
#define __ORDER_PDP_ENDIAN__ 3412
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __FLOAT_WORD_ORDER__ ...
terminating child process: 22981
  Folder: /usr/local/include/ will be indexed
  Folder: /usr/lib/clang/3.4.2/include/ will be indexed
  Folder: /usr/include/ will be indexed
  Folder: /myworkspace/include/ will be indexed
  Folder: /myworkspace/src/ will be indexed
cpptools/didChangeFolderSettings
Attempting to get defaults from compiler in "compilerPath" property: '/usr/lib64/ccache/clang'
terminating child process: 22990
Code browsing service initialized
Populate include completion cache.
Attempting to get defaults from compiler in "compilerPath" property: '/usr/lib64/ccache/clang'
terminating child process: 22992
terminating child process: 22996
  Folder: /usr/local/include/ will be indexed
  Folder: /usr/lib/clang/3.4.2/include/ will be indexed
  Folder: /usr/include/ will be indexed
Custom configuration provider 'CMake Tools' registered
Custom browse configuration received: {
  "browsePath": [
    "/myworkspace/include",
    "/myworkspace/src",
    "/myworkspace/src/argmax",
    "/myworkspace/src/booster",
    "/myworkspace/src/datamat",
    "/myworkspace/src/features",
    "/myworkspace/src/histogram",
    "/myworkspace/src/interface",
    "/myworkspace/src/metric",
    "/myworkspace/src/node",
    "/myworkspace/src/objective",
    "/myworkspace/src/tree",
    "/myworkspace/src/utils"
  ],
  "standard": "c++11",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
  Folder: /myworkspace/include/ will be indexed
  Folder: /myworkspace/src/ will be indexed
textDocument/didOpen
Discovering files...
cpptools/getCodeActions: 2
cpptools/getDocumentSymbols: 3
cpptools/clearCustomConfigurations
Checking for syntax errors: file:///myworkspace/src/datamat/datamat.cpp
cpptools/getDocumentSymbols
cpptools/getCodeActions: 4
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include
  include: /usr/include/c++/4.8.2
  include: /usr/include/c++/4.8.2/x86_64-redhat-linux
  include: /usr/include/c++/4.8.2/backward
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: __llvm__=1
  define: __clang__=1
  define: __clang_major__=3
  define: __clang_minor__=4
  define: __clang_patchlevel__=2
  define: __clang_version__="3.4.2 (tags/RELEASE_34/dot2-final)"
  define: __GNUC_MINOR__=2
  define: __GNUC_PATCHLEVEL__=1
  define: __GNUC__=4
  define: __GXX_ABI_VERSION=1002
  define: __ATOMIC_RELAXED=0
  define: __ATOMIC_CONSUME=1
  define: __ATOMIC_ACQUIRE=2
  define: __ATOMIC_RELEASE=3
  define: __ATOMIC_ACQ_REL=4
  define: __ATOMIC_SEQ_CST=5
  define: __PRAGMA_REDEFINE_EXTNAME=1
  define: __VERSION__="4.2.1 Compatible Clang 3.4.2 (tags/RELEASE_34/dot2-final)"
  define: __STRICT_ANSI__=1
  define: __GXX_EXPERIMENTAL_CXX0X__=1
  define: __CONSTANT_CFSTRINGS__=1
  define: __EXCEPTIONS=1
  define: __GXX_RTTI=1
  define: __DEPRECATED=1
  define: __GNUG__=4
  define: __GXX_WEAK__=1
  define: __private_extern__=extern
  define: __ORDER_LITTLE_ENDIAN__=1234
  define: __ORDER_BIG_ENDIAN__=4321
  define: __ORDER_PDP_ENDIAN__=3412
  define: __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
  define: _LP64=1
  define: __LP64__=1
  define: __CHAR_BIT__=8
  define: __SCHAR_MAX__=127
  define: __SHRT_MAX__=32767
  define: __INT_MAX__=2147483647
  define: __LONG_MAX__=9223372036854775807L
  define: __LONG_LONG_MAX__=9223372036854775807LL
  define: __WCHAR_MAX__=2147483647
  define: __INTMAX_MAX__=9223372036854775807L
  define: __SIZE_MAX__=18446744073709551615UL
  define: __SIZEOF_DOUBLE__=8
  define: __SIZEOF_FLOAT__=4
  define: __SIZEOF_INT__=4
  define: __SIZEOF_LONG__=8
  define: __SIZEOF_LONG_DOUBLE__=16
  define: __SIZEOF_LONG_LONG__=8
  define: __SIZEOF_POINTER__=8
  define: __SIZEOF_SHORT__=2
  define: __SIZEOF_PTRDIFF_T__=8
  define: __SIZEOF_SIZE_T__=8
  define: __SIZEOF_WCHAR_T__=4
  define: __SIZEOF_WINT_T__=4
  define: __SIZEOF_INT128__=16
  define: __INTMAX_TYPE__=long int
  define: __UINTMAX_TYPE__=long unsigned int
  define: __INTMAX_WIDTH__=64
  define: __PTRDIFF_TYPE__=long int
  define: __PTRDIFF_WIDTH__=64
  define: __INTPTR_TYPE__=long int
  define: __INTPTR_WIDTH__=64
  define: __SIZE_TYPE__=long unsigned int
  define: __SIZE_WIDTH__=64
  define: __WCHAR_TYPE__=int
  define: __WCHAR_WIDTH__=32
  define: __WINT_TYPE__=unsigned int
  define: __WINT_WIDTH__=32
  define: __SIG_ATOMIC_WIDTH__=32
  define: __CHAR16_TYPE__=unsigned short
  define: __CHAR32_TYPE__=unsigned int
  define: __FLT_DENORM_MIN__=1.40129846e-45F
  define: __FLT_HAS_DENORM__=1
  define: __FLT_DIG__=6
  define: __FLT_EPSILON__=1.19209290e-7F
  define: __FLT_HAS_INFINITY__=1
  define: __FLT_HAS_QUIET_NAN__=1
  define: __FLT_MANT_DIG__=24
  define: __FLT_MAX_10_EXP__=38
  define: __FLT_MAX_EXP__=128
  define: __FLT_MAX__=3.40282347e+38F
  define: __FLT_MIN_10_EXP__=(-37)
  define: __FLT_MIN_EXP__=(-125)
  define: __FLT_MIN__=1.17549435e-38F
  define: __DBL_DENORM_MIN__=4.9406564584124654e-324
  define: __DBL_HAS_DENORM__=1
  define: __DBL_DIG__=15
  define: __DBL_EPSILON__=2.2204460492503131e-16
  define: __DBL_HAS_INFINITY__=1
  define: __DBL_HAS_QUIET_NAN__=1
  define: __DBL_MANT_DIG__=53
  define: __DBL_MAX_10_EXP__=308
  define: __DBL_MAX_EXP__=1024
  define: __DBL_MAX__=1.7976931348623157e+308
  define: __DBL_MIN_10_EXP__=(-307)
  define: __DBL_MIN_EXP__=(-1021)
  define: __DBL_MIN__=2.2250738585072014e-308
  define: __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L
  define: __LDBL_HAS_DENORM__=1
  define: __LDBL_DIG__=18
  define: __LDBL_EPSILON__=1.08420217248550443401e-19L
  define: __LDBL_HAS_INFINITY__=1
  define: __LDBL_HAS_QUIET_NAN__=1
  define: __LDBL_MANT_DIG__=64
  define: __LDBL_MAX_10_EXP__=4932
  define: __LDBL_MAX_EXP__=16384
  define: __LDBL_MAX__=1.18973149535723176502e+4932L
  define: __LDBL_MIN_10_EXP__=(-4931)
  define: __LDBL_MIN_EXP__=(-16381)
  define: __LDBL_MIN__=3.36210314311209350626e-4932L
  define: __POINTER_WIDTH__=64
  define: __WINT_UNSIGNED__=1
  define: __INT8_TYPE__=char
  define: __INT16_TYPE__=short
  define: __INT32_TYPE__=int
  define: __INT64_TYPE__=long int
  define: __INT64_C_SUFFIX__=L
  define: __USER_LABEL_PREFIX__=
  define: __FINITE_MATH_ONLY__=0
  define: __GNUC_GNU_INLINE__=1
  define: __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
  define: __GCC_ATOMIC_BOOL_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __GCC_ATOMIC_SHORT_LOCK_FREE=2
  define: __GCC_ATOMIC_INT_LOCK_FREE=2
  define: __GCC_ATOMIC_LONG_LOCK_FREE=2
  define: __GCC_ATOMIC_LLONG_LOCK_FREE=2
  define: __GCC_ATOMIC_POINTER_LOCK_FREE=2
  define: __NO_INLINE__=1
  define: __FLT_EVAL_METHOD__=0
  define: __FLT_RADIX__=2
  define: __DECIMAL_DIG__=21
  define: __amd64__=1
  define: __amd64=1
  define: __x86_64=1
  define: __x86_64__=1
  define: __k8=1
  define: __k8__=1
  define: __tune_k8__=1
  define: __LITTLE_ENDIAN__=1
  define: __REGISTER_PREFIX__=
  define: __NO_MATH_INLINES=1
  define: __SSE2__=1
  define: __SSE2_MATH__=1
  define: __SSE__=1
  define: __SSE_MATH__=1
  define: __MMX__=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
  define: __unix=1
  define: __unix__=1
  define: __linux=1
  define: __linux__=1
  define: __gnu_linux__=1
  define: __ELF__=1
  define: _GNU_SOURCE=1
  define: __STDC__=1
  define: __STDC_HOSTED__=1
  define: __cplusplus=201305L
  define: __STDC_UTF_16__=1
  define: __STDC_UTF_32__=1
  other: --clang
  other: --clang_version=30402
  stdver: c++14
  intelliSenseMode: clang-x64
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
terminating child process: 22998
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
  Processing folder (recursive): /usr/local/include/
Closing the communication channel.
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
  Processing folder (recursive): /usr/lib/clang/3.4.2/include/
cpptools/fileDeleted
  Processing folder (recursive): /usr/include/
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include
  include: /usr/include/c++/4.8.2
  include: /usr/include/c++/4.8.2/x86_64-redhat-linux
  include: /usr/include/c++/4.8.2/backward
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: __llvm__=1
  define: __clang__=1
  define: __clang_major__=3
  define: __clang_minor__=4
  define: __clang_patchlevel__=2
  define: __clang_version__="3.4.2 (tags/RELEASE_34/dot2-final)"
  define: __GNUC_MINOR__=2
  define: __GNUC_PATCHLEVEL__=1
  define: __GNUC__=4
  define: __GXX_ABI_VERSION=1002
  define: __ATOMIC_RELAXED=0
  define: __ATOMIC_CONSUME=1
  define: __ATOMIC_ACQUIRE=2
  define: __ATOMIC_RELEASE=3
  define: __ATOMIC_ACQ_REL=4
  define: __ATOMIC_SEQ_CST=5
  define: __PRAGMA_REDEFINE_EXTNAME=1
  define: __VERSION__="4.2.1 Compatible Clang 3.4.2 (tags/RELEASE_34/dot2-final)"
  define: __STRICT_ANSI__=1
  define: __GXX_EXPERIMENTAL_CXX0X__=1
  define: __CONSTANT_CFSTRINGS__=1
  define: __EXCEPTIONS=1
  define: __GXX_RTTI=1
  define: __DEPRECATED=1
  define: __GNUG__=4
  define: __GXX_WEAK__=1
  define: __private_extern__=extern
  define: __ORDER_LITTLE_ENDIAN__=1234
  define: __ORDER_BIG_ENDIAN__=4321
  define: __ORDER_PDP_ENDIAN__=3412
  define: __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
  define: _LP64=1
  define: __LP64__=1
  define: __CHAR_BIT__=8
  define: __SCHAR_MAX__=127
  define: __SHRT_MAX__=32767
  define: __INT_MAX__=2147483647
  define: __LONG_MAX__=9223372036854775807L
  define: __LONG_LONG_MAX__=9223372036854775807LL
  define: __WCHAR_MAX__=2147483647
  define: __INTMAX_MAX__=9223372036854775807L
  define: __SIZE_MAX__=18446744073709551615UL
  define: __SIZEOF_DOUBLE__=8
  define: __SIZEOF_FLOAT__=4
  define: __SIZEOF_INT__=4
  define: __SIZEOF_LONG__=8
  define: __SIZEOF_LONG_DOUBLE__=16
  define: __SIZEOF_LONG_LONG__=8
  define: __SIZEOF_POINTER__=8
  define: __SIZEOF_SHORT__=2
  define: __SIZEOF_PTRDIFF_T__=8
  define: __SIZEOF_SIZE_T__=8
  define: __SIZEOF_WCHAR_T__=4
  define: __SIZEOF_WINT_T__=4
  define: __SIZEOF_INT128__=16
  define: __INTMAX_TYPE__=long int
  define: __UINTMAX_TYPE__=long unsigned int
  define: __INTMAX_WIDTH__=64
  define: __PTRDIFF_TYPE__=long int
  define: __PTRDIFF_WIDTH__=64
  define: __INTPTR_TYPE__=long int
  define: __INTPTR_WIDTH__=64
  define: __SIZE_TYPE__=long unsigned int
  define: __SIZE_WIDTH__=64
  define: __WCHAR_TYPE__=int
  define: __WCHAR_WIDTH__=32
  define: __WINT_TYPE__=unsigned int
  define: __WINT_WIDTH__=32
  define: __SIG_ATOMIC_WIDTH__=32
  define: __CHAR16_TYPE__=unsigned short
  define: __CHAR32_TYPE__=unsigned int
  define: __FLT_DENORM_MIN__=1.40129846e-45F
  define: __FLT_HAS_DENORM__=1
  define: __FLT_DIG__=6
  define: __FLT_EPSILON__=1.19209290e-7F
  define: __FLT_HAS_INFINITY__=1
  define: __FLT_HAS_QUIET_NAN__=1
  define: __FLT_MANT_DIG__=24
  define: __FLT_MAX_10_EXP__=38
  define: __FLT_MAX_EXP__=128
  define: __FLT_MAX__=3.40282347e+38F
  define: __FLT_MIN_10_EXP__=(-37)
  define: __FLT_MIN_EXP__=(-125)
  define: __FLT_MIN__=1.17549435e-38F
  define: __DBL_DENORM_MIN__=4.9406564584124654e-324
  define: __DBL_HAS_DENORM__=1
  define: __DBL_DIG__=15
  define: __DBL_EPSILON__=2.2204460492503131e-16
  define: __DBL_HAS_INFINITY__=1
  define: __DBL_HAS_QUIET_NAN__=1
  define: __DBL_MANT_DIG__=53
  define: __DBL_MAX_10_EXP__=308
  define: __DBL_MAX_EXP__=1024
  define: __DBL_MAX__=1.7976931348623157e+308
  define: __DBL_MIN_10_EXP__=(-307)
  define: __DBL_MIN_EXP__=(-1021)
  define: __DBL_MIN__=2.2250738585072014e-308
  define: __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L
  define: __LDBL_HAS_DENORM__=1
  define: __LDBL_DIG__=18
  define: __LDBL_EPSILON__=1.08420217248550443401e-19L
  define: __LDBL_HAS_INFINITY__=1
  define: __LDBL_HAS_QUIET_NAN__=1
  define: __LDBL_MANT_DIG__=64
  define: __LDBL_MAX_10_EXP__=4932
  define: __LDBL_MAX_EXP__=16384
  define: __LDBL_MAX__=1.18973149535723176502e+4932L
  define: __LDBL_MIN_10_EXP__=(-4931)
  define: __LDBL_MIN_EXP__=(-16381)
  define: __LDBL_MIN__=3.36210314311209350626e-4932L
  define: __POINTER_WIDTH__=64
  define: __WINT_UNSIGNED__=1
  define: __INT8_TYPE__=char
  define: __INT16_TYPE__=short
  define: __INT32_TYPE__=int
  define: __INT64_TYPE__=long int
  define: __INT64_C_SUFFIX__=L
  define: __USER_LABEL_PREFIX__=
  define: __FINITE_MATH_ONLY__=0
  define: __GNUC_GNU_INLINE__=1
  define: __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
  define: __GCC_ATOMIC_BOOL_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __GCC_ATOMIC_SHORT_LOCK_FREE=2
  define: __GCC_ATOMIC_INT_LOCK_FREE=2
  define: __GCC_ATOMIC_LONG_LOCK_FREE=2
  define: __GCC_ATOMIC_LLONG_LOCK_FREE=2
  define: __GCC_ATOMIC_POINTER_LOCK_FREE=2
  define: __NO_INLINE__=1
  define: __FLT_EVAL_METHOD__=0
  define: __FLT_RADIX__=2
  define: __DECIMAL_DIG__=21
  define: __amd64__=1
  define: __amd64=1
  define: __x86_64=1
  define: __x86_64__=1
  define: __k8=1
  define: __k8__=1
  define: __tune_k8__=1
  define: __LITTLE_ENDIAN__=1
  define: __REGISTER_PREFIX__=
  define: __NO_MATH_INLINES=1
  define: __SSE2__=1
  define: __SSE2_MATH__=1
  define: __SSE__=1
  define: __SSE_MATH__=1
  define: __MMX__=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
  define: __unix=1
  define: __unix__=1
  define: __linux=1
  define: __linux__=1
  define: __gnu_linux__=1
  define: __ELF__=1
  define: _GNU_SOURCE=1
  define: __STDC__=1
  define: __STDC_HOSTED__=1
  define: __cplusplus=201305L
  define: __STDC_UTF_16__=1
  define: __STDC_UTF_32__=1
  other: --clang
  other: --clang_version=30402
  stdver: c++14
  intelliSenseMode: clang-x64
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/datamat/datamat.cpp
cpptools/pauseParsing
cpptools/clearCustomConfigurations
terminating child process: 23019
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
Closing the communication channel.
Checking for syntax errors: file:///myworkspace/src/datamat/datamat.cpp
Update IntelliSense time (sec): 0.18
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
cpptools/queryTranslationUnitSource: 5
Custom configurations received:
  uri: file:///myworkspace/src/datamat/datamat.cpp
  config: {
  "defines": [
    "lineargbm_EXPORTS"
  ],
  "standard": "c++11",
  "includePath": [
    "/myworkspace/include"
  ],
  "intelliSenseMode": "gcc-x64",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
Custom browse configuration received: {
  "browsePath": [
    "/myworkspace/include",
    "/myworkspace/src",
    "/myworkspace/src/argmax",
    "/myworkspace/src/booster",
    "/myworkspace/src/datamat",
    "/myworkspace/src/features",
    "/myworkspace/src/histogram",
    "/myworkspace/src/interface",
    "/myworkspace/src/metric",
    "/myworkspace/src/node",
    "/myworkspace/src/objective",
    "/myworkspace/src/tree",
    "/myworkspace/src/utils"
  ],
  "standard": "c++11",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/didChangeCustomBrowseConfiguration
cpptools/didChangeCustomConfiguration
Checking for syntax errors: file:///myworkspace/src/datamat/datamat.cpp
cpptools/resumeParsing
cpptools/clearCustomConfigurations
Checking for syntax errors: file:///myworkspace/src/datamat/datamat.cpp
cpptools/queryTranslationUnitSource: 6
Custom configurations received:
  uri: file:///myworkspace/src/datamat/datamat.cpp
  config: {
  "defines": [
    "lineargbm_EXPORTS"
  ],
  "standard": "c++11",
  "includePath": [
    "/myworkspace/include"
  ],
  "intelliSenseMode": "gcc-x64",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/didChangeCustomBrowseConfiguration
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include
  include: /usr/include/c++/4.8.2
  include: /usr/include/c++/4.8.2/x86_64-redhat-linux
  include: /usr/include/c++/4.8.2/backward
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: __llvm__=1
  define: __clang__=1
  define: __clang_major__=3
  define: __clang_minor__=4
  define: __clang_patchlevel__=2
  define: __clang_version__="3.4.2 (tags/RELEASE_34/dot2-final)"
  define: __GNUC_MINOR__=2
  define: __GNUC_PATCHLEVEL__=1
  define: __GNUC__=4
  define: __GXX_ABI_VERSION=1002
  define: __ATOMIC_RELAXED=0
  define: __ATOMIC_CONSUME=1
  define: __ATOMIC_ACQUIRE=2
  define: __ATOMIC_RELEASE=3
  define: __ATOMIC_ACQ_REL=4
  define: __ATOMIC_SEQ_CST=5
  define: __PRAGMA_REDEFINE_EXTNAME=1
  define: __VERSION__="4.2.1 Compatible Clang 3.4.2 (tags/RELEASE_34/dot2-final)"
  define: __STRICT_ANSI__=1
  define: __GXX_EXPERIMENTAL_CXX0X__=1
  define: __CONSTANT_CFSTRINGS__=1
  define: __EXCEPTIONS=1
  define: __GXX_RTTI=1
  define: __DEPRECATED=1
  define: __GNUG__=4
  define: __GXX_WEAK__=1
  define: __private_extern__=extern
  define: __ORDER_LITTLE_ENDIAN__=1234
  define: __ORDER_BIG_ENDIAN__=4321
  define: __ORDER_PDP_ENDIAN__=3412
  define: __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
  define: _LP64=1
  define: __LP64__=1
  define: __CHAR_BIT__=8
  define: __SCHAR_MAX__=127
  define: __SHRT_MAX__=32767
  define: __INT_MAX__=2147483647
  define: __LONG_MAX__=9223372036854775807L
  define: __LONG_LONG_MAX__=9223372036854775807LL
  define: __WCHAR_MAX__=2147483647
  define: __INTMAX_MAX__=9223372036854775807L
  define: __SIZE_MAX__=18446744073709551615UL
  define: __SIZEOF_DOUBLE__=8
  define: __SIZEOF_FLOAT__=4
  define: __SIZEOF_INT__=4
  define: __SIZEOF_LONG__=8
  define: __SIZEOF_LONG_DOUBLE__=16
  define: __SIZEOF_LONG_LONG__=8
  define: __SIZEOF_POINTER__=8
  define: __SIZEOF_SHORT__=2
  define: __SIZEOF_PTRDIFF_T__=8
  define: __SIZEOF_SIZE_T__=8
  define: __SIZEOF_WCHAR_T__=4
  define: __SIZEOF_WINT_T__=4
  define: __SIZEOF_INT128__=16
  define: __INTMAX_TYPE__=long int
  define: __UINTMAX_TYPE__=long unsigned int
  define: __INTMAX_WIDTH__=64
  define: __PTRDIFF_TYPE__=long int
  define: __PTRDIFF_WIDTH__=64
  define: __INTPTR_TYPE__=long int
  define: __INTPTR_WIDTH__=64
  define: __SIZE_TYPE__=long unsigned int
  define: __SIZE_WIDTH__=64
  define: __WCHAR_TYPE__=int
  define: __WCHAR_WIDTH__=32
  define: __WINT_TYPE__=unsigned int
  define: __WINT_WIDTH__=32
  define: __SIG_ATOMIC_WIDTH__=32
  define: __CHAR16_TYPE__=unsigned short
  define: __CHAR32_TYPE__=unsigned int
  define: __FLT_DENORM_MIN__=1.40129846e-45F
  define: __FLT_HAS_DENORM__=1
  define: __FLT_DIG__=6
  define: __FLT_EPSILON__=1.19209290e-7F
  define: __FLT_HAS_INFINITY__=1
  define: __FLT_HAS_QUIET_NAN__=1
  define: __FLT_MANT_DIG__=24
  define: __FLT_MAX_10_EXP__=38
  define: __FLT_MAX_EXP__=128
  define: __FLT_MAX__=3.40282347e+38F
  define: __FLT_MIN_10_EXP__=(-37)
  define: __FLT_MIN_EXP__=(-125)
  define: __FLT_MIN__=1.17549435e-38F
  define: __DBL_DENORM_MIN__=4.9406564584124654e-324
  define: __DBL_HAS_DENORM__=1
  define: __DBL_DIG__=15
  define: __DBL_EPSILON__=2.2204460492503131e-16
  define: __DBL_HAS_INFINITY__=1
  define: __DBL_HAS_QUIET_NAN__=1
  define: __DBL_MANT_DIG__=53
  define: __DBL_MAX_10_EXP__=308
  define: __DBL_MAX_EXP__=1024
  define: __DBL_MAX__=1.7976931348623157e+308
  define: __DBL_MIN_10_EXP__=(-307)
  define: __DBL_MIN_EXP__=(-1021)
  define: __DBL_MIN__=2.2250738585072014e-308
  define: __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L
  define: __LDBL_HAS_DENORM__=1
  define: __LDBL_DIG__=18
  define: __LDBL_EPSILON__=1.08420217248550443401e-19L
  define: __LDBL_HAS_INFINITY__=1
  define: __LDBL_HAS_QUIET_NAN__=1
  define: __LDBL_MANT_DIG__=64
  define: __LDBL_MAX_10_EXP__=4932
  define: __LDBL_MAX_EXP__=16384
  define: __LDBL_MAX__=1.18973149535723176502e+4932L
  define: __LDBL_MIN_10_EXP__=(-4931)
  define: __LDBL_MIN_EXP__=(-16381)
  define: __LDBL_MIN__=3.36210314311209350626e-4932L
  define: __POINTER_WIDTH__=64
  define: __WINT_UNSIGNED__=1
  define: __INT8_TYPE__=char
  define: __INT16_TYPE__=short
  define: __INT32_TYPE__=int
  define: __INT64_TYPE__=long int
  define: __INT64_C_SUFFIX__=L
  define: __USER_LABEL_PREFIX__=
  define: __FINITE_MATH_ONLY__=0
  define: __GNUC_GNU_INLINE__=1
  define: __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
  define: __GCC_ATOMIC_BOOL_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __GCC_ATOMIC_SHORT_LOCK_FREE=2
  define: __GCC_ATOMIC_INT_LOCK_FREE=2
  define: __GCC_ATOMIC_LONG_LOCK_FREE=2
  define: __GCC_ATOMIC_LLONG_LOCK_FREE=2
  define: __GCC_ATOMIC_POINTER_LOCK_FREE=2
  define: __NO_INLINE__=1
  define: __FLT_EVAL_METHOD__=0
  define: __FLT_RADIX__=2
  define: __DECIMAL_DIG__=21
  define: __amd64__=1
  define: __amd64=1
  define: __x86_64=1
  define: __x86_64__=1
  define: __k8=1
  define: __k8__=1
  define: __tune_k8__=1
  define: __LITTLE_ENDIAN__=1
  define: __REGISTER_PREFIX__=
  define: __NO_MATH_INLINES=1
  define: __SSE2__=1
  define: __SSE2_MATH__=1
  define: __SSE__=1
  define: __SSE_MATH__=1
  define: __MMX__=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
  define: __unix=1
  define: __unix__=1
  define: __linux=1
  define: __linux__=1
  define: __gnu_linux__=1
  define: __ELF__=1
  define: _GNU_SOURCE=1
  define: __STDC__=1
  define: __STDC_HOSTED__=1
  define: __cplusplus=201305L
  define: __STDC_UTF_16__=1
  define: __STDC_UTF_32__=1
  other: --clang
  other: --clang_version=30402
  stdver: c++14
  intelliSenseMode: clang-x64
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
terminating child process: 23043
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
cpptools/didChangeCustomConfiguration
Checking for syntax errors: file:///myworkspace/src/datamat/datamat.cpp
cpptools/resumeParsing
Closing the communication channel.
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
terminating child process: 23064
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
Closing the communication channel.
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
terminating child process: 23085
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
Closing the communication channel.
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
terminating child process: 23106
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
Closing the communication channel.
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
terminating child process: 23127
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
Closing the communication channel.
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/datamat/datamat.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/datamat/datamat.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/datamat/datamat.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/datamat/datamat.cpp
cpptools/getCodeActions: 7
  Processing folder (recursive): /myworkspace/include/
  Processing folder (recursive): /myworkspace/src/
  Discovering files: 14951 file(s) processed
  0 file(s) removed from database
Done discovering files.
Parsing open files...
Parsing remaining files...
  Parsing: 0 files(s) processed
Done parsing remaining files.
Done parsing open files.
cpptools/didChangeCompileCommands
terminating child process: 23148
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
Failed to read response from server: 22
Populate include completion cache.
Discovering files...
Closing the communication channel.
  Processing folder (recursive): /usr/local/include/
  Processing folder (recursive): /usr/lib/clang/3.4.2/include/
  Processing folder (recursive): /usr/include/
Checking for syntax errors: file:///myworkspace/src/datamat/datamat.cpp
cpptools/cpptools_finishUpdateSquiggles
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
sending compilation args for /myworkspace/src/datamat/datamat.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/datamat/datamat.cpp
cpptools/getCodeActions: 8
  Processing folder (recursive): /myworkspace/include/
  Processing folder (recursive): /myworkspace/src/
  Discovering files: 14951 file(s) processed
  1 file(s) removed from database
Done discovering files.
Parsing open files...
Parsing remaining files...
  Parsing: 0 files(s) processed
Done parsing remaining files.
Done parsing open files.
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 82
Error squiggles will be disabled in: file:///myworkspace/src/datamat/datamat.cpp
terminating child process: 23207
Update IntelliSense time (sec): 1.568
cpptools/getCodeActions: 9
Database safe to open
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 10
idle loop: reparsing the active document
Checking for syntax errors: file:///myworkspace/src/datamat/datamat.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/datamat/datamat.cpp
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 82
Update IntelliSense time (sec): 0.275
cpptools/getCodeActions: 11
cpptools/getCodeActions: 12
cpptools/queryTranslationUnitSource: 13
Custom configurations received:
  uri: file:///myworkspace/src/main.cpp
  config: {
  "defines": [
    "lineargbm_EXPORTS"
  ],
  "standard": "c++11",
  "includePath": [
    "/myworkspace/include"
  ],
  "intelliSenseMode": "gcc-x64",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/didChangeCustomConfiguration
textDocument/didOpen
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: 14
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols
terminating child process: 23309
sending compilation args for /myworkspace/src/main.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Checking for syntax errors: file:///myworkspace/src/main.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/main.cpp
cpptools/getCodeActions: 15
textDocument/documentHighlight: 16
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 81
Error squiggles will be disabled in: file:///myworkspace/src/main.cpp
terminating child process: 23337
Update IntelliSense time (sec): 0.973
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 17
cpptools/getCodeActions: 18
idle loop: reparsing the active document
Checking for syntax errors: file:///myworkspace/src/main.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/main.cpp
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 81
Update IntelliSense time (sec): 0.281
cpptools/getCodeActions: 19
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 20
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 21
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 22
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 23
cpptools/textEditorSelectionChange
textDocument/hover: 24
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 25
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 26
textDocument/didClose
cpptools/queryTranslationUnitSource: 27
cpptools/getCodeActions: 28
cpptools/queryTranslationUnitSource: 29
Custom configurations received:
  uri: file:///myworkspace/src/booster/booster.cpp
  config: {
  "defines": [
    "lineargbm_EXPORTS"
  ],
  "standard": "c++11",
  "includePath": [
    "/myworkspace/include"
  ],
  "intelliSenseMode": "gcc-x64",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/didChangeCustomConfiguration
textDocument/didOpen
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: 30
cpptools/getDocumentSymbols: 31
textDocument/didOpen
cpptools/getDocumentSymbols
terminating child process: 2336
terminating child process: 2337
sending compilation args for /myworkspace/src/booster/booster.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Checking for syntax errors: file:///myworkspace/src/booster/booster.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/booster/booster.cpp
cpptools/textEditorSelectionChange
idle loop: reparsing the active document
Checking for syntax errors: file:///myworkspace/src/booster/booster.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/booster/booster.cpp
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 132
Error squiggles will be disabled in: file:///myworkspace/src/booster/booster.cpp
terminating child process: 2361
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 132
Update IntelliSense time (sec): 1.249
cpptools/getDocumentSymbols
Shutting down IntelliSense server: /myworkspace/src/datamat/datamat.cpp
terminating child process: 23173
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
not exited yet. Will sleep for 20 milliseconds and try again.
not exited yet. Will sleep for 40 milliseconds and try again.
Closing the communication channel.
cpptools/queryTranslationUnitSource: 32
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 33
cpptools/queryTranslationUnitSource: 34
Custom configurations received:
  uri: file:///myworkspace/src/objective/lambdaMart.cpp
  config: {
  "defines": [
    "lineargbm_EXPORTS"
  ],
  "standard": "c++11",
  "includePath": [
    "/myworkspace/include"
  ],
  "intelliSenseMode": "gcc-x64",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/didChangeCustomConfiguration
textDocument/didOpen
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: 35
cpptools/textEditorSelectionChange
textDocument/didOpen
cpptools/getDocumentSymbols
terminating child process: 2370
cpptools/getDocumentSymbols: 36
terminating child process: 2371
sending compilation args for /myworkspace/src/objective/lambdaMart.cpp
  include: /myworkspace/include
  include: /usr/include/c++/4.8.2
  include: /usr/local/include
  include: /usr/lib/clang/3.4.2/include
  include: /usr/include
  define: lineargbm_EXPORTS
  other: --g++
  other: --gnu_version=80100
  stdver: c++11
  intelliSenseMode: gcc-x64
Checking for syntax errors: file:///myworkspace/src/objective/lambdaMart.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/objective/lambdaMart.cpp
cpptools/getCodeActions: 37
idle loop: reparsing the active document
Checking for syntax errors: file:///myworkspace/src/objective/lambdaMart.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/objective/lambdaMart.cpp
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 55
Error squiggles will be disabled in: file:///myworkspace/src/objective/lambdaMart.cpp
terminating child process: 2396
cpptools/getDocumentSymbols
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 55
Update IntelliSense time (sec): 1.074
cpptools/getCodeActions: 38
cpptools/getCodeActions: 39
textDocument/didClose
cpptools/getCodeActions: 40
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: 41
cpptools/getDocumentSymbols
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 42
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: 43
cpptools/getDocumentSymbols
cpptools/textEditorSelectionChange
idle loop: reparsing the active document
Checking for syntax errors: file:///myworkspace/src/main.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/main.cpp
cpptools/getCodeActions: 44
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 81
Update IntelliSense time (sec): 0.276
cpptools/getCodeActions: 45
Shutting down IntelliSense server: /myworkspace/src/objective/lambdaMart.cpp
terminating child process: 2373
still alive, killing...
not exited yet. Will sleep for 10 milliseconds and try again.
Closing the communication channel.
cpptools/fileChanged
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
  tag parsing file: /myworkspace/build/CMakeFiles/3.14.6/CompilerIdC/CMakeCCompilerId.c
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
  tag parsing file: /myworkspace/build/CMakeFiles/3.14.6/CompilerIdCXX/CMakeCXXCompilerId.cpp
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
  tag parsing file: /myworkspace/build/CMakeFiles/feature_tests.c
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
  tag parsing file: /myworkspace/build/CMakeFiles/feature_tests.cxx
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
  tag parsing file: /myworkspace/build/CMakeFiles/FindOpenMP/OpenMPTryFlag.c
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
  tag parsing file: /myworkspace/build/CMakeFiles/FindOpenMP/OpenMPTryFlag.cpp
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
  tag parsing file: /myworkspace/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.c
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
  tag parsing file: /myworkspace/build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
Database safe to open
textDocument/hover: 46
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileCreated
Database safe to open
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileDeleted
Database safe to open
cpptools/getCodeActions: 47
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: 48
cpptools/getDocumentSymbols
cpptools/textEditorSelectionChange
idle loop: reparsing the active document
Checking for syntax errors: file:///myworkspace/src/booster/booster.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/booster/booster.cpp
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 49
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 132
Update IntelliSense time (sec): 0.317
cpptools/getCodeActions: 50
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 51
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 52
cpptools/activeDocumentChange
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: 53
cpptools/getDocumentSymbols
cpptools/textEditorSelectionChange
cpptools/getCodeActions: 54
idle loop: reparsing the active document
Checking for syntax errors: file:///myworkspace/src/booster/booster.cpp
Queueing IntelliSense update for files in translation unit of: /myworkspace/src/booster/booster.cpp
cpptools/cpptools_finishUpdateSquiggles
Error squiggle count: 132
Update IntelliSense time (sec): 0.33
cpptools/getCodeActions: 55
sean-mcmanus commented 4 years ago

It looks like g++ is failing to be queried.

What does it output when you run /usr/lib64/ccache/g++ -fopenmp -O3 -mavx2 -mbmi2 -g -O0 -fPIC -Wp,-v -E -dD -x c++ /dev/null?

This logging is not normal:

Failed to query default include paths and defines for /usr/lib64/ccache/g++.
# 1 "/dev/null"
# 1 "/usr/lib64/ccache//"
# 1 "<built-in>"
#define __STDC__ 1
#define __cplusplus 201103L
#define __STDC_HOSTED__ 1
#define __GNUC__ 4
#define __GNUC_MINOR__ 8
#define __GNUC_PATCHLEVEL__ 5
#define __VERSION__ "4.8.5 20150623 (Red Hat 4.8.5-36)"
#define __GNUC_RH_RELEASE__ 36
#define __ATOMIC_RELAXED 0
#define __ATOMIC_SEQ_CST 5
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_RELEASE 3
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_CONSUME 1
#define __pic__ 2
#define __PIC__ 2
#define __FINITE_MATH_ONLY__ 0
#define _LP64 1
#define __LP64__ 1
#define __SIZEOF_INT__ 4
#define __SIZEOF_LONG__ 8
#define __SIZEOF_LONG_LONG__ 8
#define __SIZEOF_SHORT__ 2
#define __SIZEOF_FLOAT__ 4
#define __SIZEOF_DOUBLE__ 8
#define __SIZEOF_LONG_DOUBLE__ 16
#define __SIZEOF_SIZE_T__ 8
#define __CHAR_BIT__ 8
#define __BIGGEST_ALIGNMENT__ 32
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __ORDER_BIG_ENDIAN__ 4321
#define __ORDER_PDP_ENDIAN__ 3412
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __FLOAT_WORD_ORDER__ ...
terminating child process: 22981
stanpcf commented 4 years ago

run /usr/lib64/ccache/g++ -fopenmp -O3 -mavx2 -mbmi2 -g -O0 -fPIC -Wp,-v -E -dD -x c++ /dev/null, which shows(contain chinese launguage, you shold translate to english)

忽略不存在的目录“/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include-fixed”
忽略不存在的目录“/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../x86_64-redhat-linux/include”
#include "..." 搜索从这里开始:
#include <...> 搜索从这里开始:
 /opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include
 /usr/local/include
 /usr/include
搜索列表结束。
# 1 "/dev/null"
# 1 "/root//"
# 1 "<built-in>"
#define __STDC__ 1
#define __cplusplus 199711L
#define __STDC_HOSTED__ 1
#define __GNUC__ 4
#define __GNUC_MINOR__ 8
#define __GNUC_PATCHLEVEL__ 5
#define __VERSION__ "4.8.5 20150623 (Red Hat 4.8.5-36)"
#define __GNUC_RH_RELEASE__ 36
#define __ATOMIC_RELAXED 0
#define __ATOMIC_SEQ_CST 5
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_RELEASE 3
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_CONSUME 1
#define __pic__ 2
#define __PIC__ 2
#define __FINITE_MATH_ONLY__ 0
#define _LP64 1
#define __LP64__ 1
#define __SIZEOF_INT__ 4
#define __SIZEOF_LONG__ 8
#define __SIZEOF_LONG_LONG__ 8
#define __SIZEOF_SHORT__ 2
#define __SIZEOF_FLOAT__ 4
#define __SIZEOF_DOUBLE__ 8
#define __SIZEOF_LONG_DOUBLE__ 16
#define __SIZEOF_SIZE_T__ 8
#define __CHAR_BIT__ 8
#define __BIGGEST_ALIGNMENT__ 32
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __ORDER_BIG_ENDIAN__ 4321
#define __ORDER_PDP_ENDIAN__ 3412
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __SIZEOF_POINTER__ 8
#define __GNUG__ 4
#define __SIZE_TYPE__ long unsigned int
#define __PTRDIFF_TYPE__ long int
#define __WCHAR_TYPE__ int
#define __WINT_TYPE__ unsigned int
#define __INTMAX_TYPE__ long int
#define __UINTMAX_TYPE__ long unsigned int
#define __CHAR16_TYPE__ short unsigned int
#define __CHAR32_TYPE__ unsigned int
#define __SIG_ATOMIC_TYPE__ int
#define __INT8_TYPE__ signed char
#define __INT16_TYPE__ short int
#define __INT32_TYPE__ int
#define __INT64_TYPE__ long int
#define __UINT8_TYPE__ unsigned char
#define __UINT16_TYPE__ short unsigned int
#define __UINT32_TYPE__ unsigned int
#define __UINT64_TYPE__ long unsigned int
#define __INT_LEAST8_TYPE__ signed char
#define __INT_LEAST16_TYPE__ short int
#define __INT_LEAST32_TYPE__ int
#define __INT_LEAST64_TYPE__ long int
#define __UINT_LEAST8_TYPE__ unsigned char
#define __UINT_LEAST16_TYPE__ short unsigned int
#define __UINT_LEAST32_TYPE__ unsigned int
#define __UINT_LEAST64_TYPE__ long unsigned int
#define __INT_FAST8_TYPE__ signed char
#define __INT_FAST16_TYPE__ long int
#define __INT_FAST32_TYPE__ long int
#define __INT_FAST64_TYPE__ long int
#define __UINT_FAST8_TYPE__ unsigned char
#define __UINT_FAST16_TYPE__ long unsigned int
#define __UINT_FAST32_TYPE__ long unsigned int
#define __UINT_FAST64_TYPE__ long unsigned int
#define __INTPTR_TYPE__ long int
#define __UINTPTR_TYPE__ long unsigned int
#define __GXX_WEAK__ 1
#define __DEPRECATED 1
#define __GXX_RTTI 1
#define __EXCEPTIONS 1
#define __GXX_ABI_VERSION 1002
#define __SCHAR_MAX__ 127
#define __SHRT_MAX__ 32767
#define __INT_MAX__ 2147483647
#define __LONG_MAX__ 9223372036854775807L
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __WCHAR_MAX__ 2147483647
#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1)
#define __WINT_MAX__ 4294967295U
#define __WINT_MIN__ 0U
#define __PTRDIFF_MAX__ 9223372036854775807L
#define __SIZE_MAX__ 18446744073709551615UL
#define __INTMAX_MAX__ 9223372036854775807L
#define __INTMAX_C(c) c ## L
#define __UINTMAX_MAX__ 18446744073709551615UL
#define __UINTMAX_C(c) c ## UL
#define __SIG_ATOMIC_MAX__ 2147483647
#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
#define __INT8_MAX__ 127
#define __INT16_MAX__ 32767
#define __INT32_MAX__ 2147483647
#define __INT64_MAX__ 9223372036854775807L
#define __UINT8_MAX__ 255
#define __UINT16_MAX__ 65535
#define __UINT32_MAX__ 4294967295U
#define __UINT64_MAX__ 18446744073709551615UL
#define __INT_LEAST8_MAX__ 127
#define __INT8_C(c) c
#define __INT_LEAST16_MAX__ 32767
#define __INT16_C(c) c
#define __INT_LEAST32_MAX__ 2147483647
#define __INT32_C(c) c
#define __INT_LEAST64_MAX__ 9223372036854775807L
#define __INT64_C(c) c ## L
#define __UINT_LEAST8_MAX__ 255
#define __UINT8_C(c) c
#define __UINT_LEAST16_MAX__ 65535
#define __UINT16_C(c) c
#define __UINT_LEAST32_MAX__ 4294967295U
#define __UINT32_C(c) c ## U
#define __UINT_LEAST64_MAX__ 18446744073709551615UL
#define __UINT64_C(c) c ## UL
#define __INT_FAST8_MAX__ 127
#define __INT_FAST16_MAX__ 9223372036854775807L
#define __INT_FAST32_MAX__ 9223372036854775807L
#define __INT_FAST64_MAX__ 9223372036854775807L
#define __UINT_FAST8_MAX__ 255
#define __UINT_FAST16_MAX__ 18446744073709551615UL
#define __UINT_FAST32_MAX__ 18446744073709551615UL
#define __UINT_FAST64_MAX__ 18446744073709551615UL
#define __INTPTR_MAX__ 9223372036854775807L
#define __UINTPTR_MAX__ 18446744073709551615UL
#define __FLT_EVAL_METHOD__ 0
#define __DEC_EVAL_METHOD__ 2
#define __FLT_RADIX__ 2
#define __FLT_MANT_DIG__ 24
#define __FLT_DIG__ 6
#define __FLT_MIN_EXP__ (-125)
#define __FLT_MIN_10_EXP__ (-37)
#define __FLT_MAX_EXP__ 128
#define __FLT_MAX_10_EXP__ 38
#define __FLT_DECIMAL_DIG__ 9
#define __FLT_MAX__ 3.40282346638528859812e+38F
#define __FLT_MIN__ 1.17549435082228750797e-38F
#define __FLT_EPSILON__ 1.19209289550781250000e-7F
#define __FLT_DENORM_MIN__ 1.40129846432481707092e-45F
#define __FLT_HAS_DENORM__ 1
#define __FLT_HAS_INFINITY__ 1
#define __FLT_HAS_QUIET_NAN__ 1
#define __DBL_MANT_DIG__ 53
#define __DBL_DIG__ 15
#define __DBL_MIN_EXP__ (-1021)
#define __DBL_MIN_10_EXP__ (-307)
#define __DBL_MAX_EXP__ 1024
#define __DBL_MAX_10_EXP__ 308
#define __DBL_DECIMAL_DIG__ 17
#define __DBL_MAX__ double(1.79769313486231570815e+308L)
#define __DBL_MIN__ double(2.22507385850720138309e-308L)
#define __DBL_EPSILON__ double(2.22044604925031308085e-16L)
#define __DBL_DENORM_MIN__ double(4.94065645841246544177e-324L)
#define __DBL_HAS_DENORM__ 1
#define __DBL_HAS_INFINITY__ 1
#define __DBL_HAS_QUIET_NAN__ 1
#define __LDBL_MANT_DIG__ 64
#define __LDBL_DIG__ 18
#define __LDBL_MIN_EXP__ (-16381)
#define __LDBL_MIN_10_EXP__ (-4931)
#define __LDBL_MAX_EXP__ 16384
#define __LDBL_MAX_10_EXP__ 4932
#define __DECIMAL_DIG__ 21
#define __LDBL_MAX__ 1.18973149535723176502e+4932L
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
#define __LDBL_HAS_DENORM__ 1
#define __LDBL_HAS_INFINITY__ 1
#define __LDBL_HAS_QUIET_NAN__ 1
#define __DEC32_MANT_DIG__ 7
#define __DEC32_MIN_EXP__ (-94)
#define __DEC32_MAX_EXP__ 97
#define __DEC32_MIN__ 1E-95DF
#define __DEC32_MAX__ 9.999999E96DF
#define __DEC32_EPSILON__ 1E-6DF
#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
#define __DEC64_MANT_DIG__ 16
#define __DEC64_MIN_EXP__ (-382)
#define __DEC64_MAX_EXP__ 385
#define __DEC64_MIN__ 1E-383DD
#define __DEC64_MAX__ 9.999999999999999E384DD
#define __DEC64_EPSILON__ 1E-15DD
#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
#define __DEC128_MANT_DIG__ 34
#define __DEC128_MIN_EXP__ (-6142)
#define __DEC128_MAX_EXP__ 6145
#define __DEC128_MIN__ 1E-6143DL
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
#define __DEC128_EPSILON__ 1E-33DL
#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
#define __REGISTER_PREFIX__ 
#define __USER_LABEL_PREFIX__ 
#define __GNUC_GNU_INLINE__ 1
#define __NO_INLINE__ 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
#define __GCC_ATOMIC_INT_LOCK_FREE 2
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
#define __GCC_HAVE_DWARF2_CFI_ASM 1
#define __PRAGMA_REDEFINE_EXTNAME 1
#define _OPENMP 201107
#define __SIZEOF_INT128__ 16
#define __SIZEOF_WCHAR_T__ 4
#define __SIZEOF_WINT_T__ 4
#define __SIZEOF_PTRDIFF_T__ 8
#define __amd64 1
#define __amd64__ 1
#define __x86_64 1
#define __x86_64__ 1
#define __ATOMIC_HLE_ACQUIRE 65536
#define __ATOMIC_HLE_RELEASE 131072
#define __k8 1
#define __k8__ 1
#define __code_model_small__ 1
#define __MMX__ 1
#define __SSE__ 1
#define __SSE2__ 1
#define __SSE3__ 1
#define __SSSE3__ 1
#define __SSE4_1__ 1
#define __SSE4_2__ 1
#define __AVX__ 1
#define __AVX2__ 1
#define __BMI2__ 1
#define __POPCNT__ 1
#define __FXSR__ 1
#define __XSAVE__ 1
#define __SSE_MATH__ 1
#define __SSE2_MATH__ 1
#define __gnu_linux__ 1
#define __linux 1
#define __linux__ 1
#define linux 1
#define __unix 1
#define __unix__ 1
#define unix 1
#define __ELF__ 1
#define __DECIMAL_BID_FORMAT__ 1
# 1 "<命令行>"
#define _GNU_SOURCE 1
#define _REENTRANT 1
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 19 "/usr/include/stdc-predef.h" 3 4
#define _STDC_PREDEF_H 1
# 30 "/usr/include/stdc-predef.h" 3 4
#define __STDC_IEC_559__ 1
#define __STDC_IEC_559_COMPLEX__ 1

#define __STDC_ISO_10646__ 201103L

#define __STDC_NO_THREADS__ 1
# 1 "<命令行>" 2
# 1 "/dev/null"
sean-mcmanus commented 4 years ago

Yeah, the failure is caused by the Chinese characters output by gcc: https://github.com/microsoft/vscode-cpptools/issues/4542 . Are you able to get gcc to output English text somehow?

stanpcf commented 4 years ago

Yeah, the failure is caused by the Chinese characters output by gcc: #4542 . Are you able to get gcc to output English text somehow?

thx for your help. but the failure exists. image

sean-mcmanus commented 4 years ago

Did you change it so that gcc output English when it's invoked from our extension process? i.e. in your C/C++ logs, do you see the new g++ being used instead of clang from before?

stanpcf commented 4 years ago

1. log diagnostics results shows

initialized
workspace/didChangeConfiguration
IntelliSense Engine = Default.
Autocomplete is enabled.
Enhanced Colorization is enabled.
Error squiggles are enabled if all header dependencies are resolved.
File exclude: **/.git
File exclude: **/.svn
File exclude: **/.hg
File exclude: **/CVS
File exclude: **/.DS_Store
File exclude: **/.vscode
Search exclude: **/node_modules
Search exclude: **/bower_components
Search exclude: **/*.code-search
Search exclude: err
Search exclude: run_dir/*
Search exclude: wapsearchhub.err.log
Search exclude: **/.vscode
Attempting to get defaults from compiler found on the machine: '/usr/lib64/ccache/clang'
terminating child process: 13042
cpptools/queryCompilerDefaults: 1
Attempting to get defaults from compiler found on the machine: '/usr/lib64/ccache/clang'
terminating child process: 13044
terminating child process: 13047
terminating child process: 13050
terminating child process: 13052
Custom browse configuration received: {
  "browsePath": [
    "/myworkspace/include",
    "/myworkspace/src",
    "/myworkspace/src/argmax",
    "/myworkspace/src/booster",
    "/myworkspace/src/datamat",
    "/myworkspace/src/features",
    "/myworkspace/src/histogram",
    "/myworkspace/src/interface",
    "/myworkspace/src/metric",
    "/myworkspace/src/node",
    "/myworkspace/src/objective",
    "/myworkspace/src/tree",
    "/myworkspace/src/utils"
  ],
  "standard": "c++11",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/didChangeCustomBrowseConfiguration
Attempting to get defaults from compiler in "compilerPath" property: '/usr/lib64/ccache/g++'
terminating child process: 13056
terminating child process: 13058
terminating child process: 13060
terminating child process: 13062
Failed to query default include paths and defines for /usr/lib64/ccache/g++.
# 1 "/dev/null"
# 1 "/usr/lib64/ccache//"
# 1 "<built-in>"
#define __STDC__ 1
#define __cplusplus 201103L
#define __STDC_HOSTED__ 1
#define __GNUC__ 4
#define __GNUC_MINOR__ 8
#define __GNUC_PATCHLEVEL__ 5
#define __VERSION__ "4.8.5 20150623 (Red Hat 4.8.5-36)"
#define __GNUC_RH_RELEASE__ 36
#define __ATOMIC_RELAXED 0
#define __ATOMIC_SEQ_CST 5
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_RELEASE 3
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_CONSUME 1
#define __pic__ 2
#define __PIC__ 2
#define __FINITE_MATH_ONLY__ 0
#define _LP64 1
#define __LP64__ 1
#define __SIZEOF_INT__ 4
#define __SIZEOF_LONG__ 8
#define __SIZEOF_LONG_LONG__ 8
#define __SIZEOF_SHORT__ 2
#define __SIZEOF_FLOAT__ 4
#define __SIZEOF_DOUBLE__ 8
#define __SIZEOF_LONG_DOUBLE__ 16
#define __SIZEOF_SIZE_T__ 8
#define __CHAR_BIT__ 8
#define __BIGGEST_ALIGNMENT__ 32
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __ORDER_BIG_ENDIAN__ 4321
#define __ORDER_PDP_ENDIAN__ 3412
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __FLOAT_WORD_ORDER__ ...
terminating child process: 13064
  Folder: /usr/local/include/ will be indexed
  Folder: /usr/lib/clang/3.4.2/include/ will be indexed
  Folder: /usr/include/ will be indexed
  Folder: /myworkspace/include/ will be indexed
  Folder: /myworkspace/src/ will be indexed
cpptools/didChangeFolderSettings
Attempting to get defaults from compiler in "compilerPath" property: '/usr/lib64/ccache/clang'
terminating child process: 13072
Code browsing service initialized
Populate include completion cache.
Attempting to get defaults from compiler in "compilerPath" property: '/usr/lib64/ccache/clang'
terminating child process: 13074
terminating child process: 13076
  Folder: /usr/local/include/ will be indexed
  Folder: /usr/lib/clang/3.4.2/include/ will be indexed
  Folder: /usr/include/ will be indexed
  Folder: /myworkspace/include/ will be indexed
  Folder: /myworkspace/src/ will be indexed
cpptools/clearCustomConfigurations
Discovering files...
  Processing folder (recursive): /usr/local/include/
  Processing folder (recursive): /usr/lib/clang/3.4.2/include/
  Processing folder (recursive): /usr/include/
Custom configuration provider 'CMake Tools' registered
Custom browse configuration received: {
  "browsePath": [
    "/myworkspace/include",
    "/myworkspace/src",
    "/myworkspace/src/argmax",
    "/myworkspace/src/booster",
    "/myworkspace/src/datamat",
    "/myworkspace/src/features",
    "/myworkspace/src/histogram",
    "/myworkspace/src/interface",
    "/myworkspace/src/metric",
    "/myworkspace/src/node",
    "/myworkspace/src/objective",
    "/myworkspace/src/tree",
    "/myworkspace/src/utils"
  ],
  "standard": "c++11",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/pauseParsing
cpptools/clearCustomConfigurations
cpptools/didChangeCustomBrowseConfiguration
cpptools/resumeParsing
cpptools/fileCreated
Custom browse configuration received: {
  "browsePath": [
    "/myworkspace/include",
    "/myworkspace/src",
    "/myworkspace/src/argmax",
    "/myworkspace/src/booster",
    "/myworkspace/src/datamat",
    "/myworkspace/src/features",
    "/myworkspace/src/histogram",
    "/myworkspace/src/interface",
    "/myworkspace/src/metric",
    "/myworkspace/src/node",
    "/myworkspace/src/objective",
    "/myworkspace/src/tree",
    "/myworkspace/src/utils"
  ],
  "standard": "c++11",
  "compilerPath": "/usr/lib64/ccache/g++",
  "compilerArgs": [
    "-fopenmp",
    "-O3",
    "-mavx2",
    "-mbmi2",
    "-g",
    "-O0",
    "-fPIC",
    "-std=gnu++11"
  ]
}
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileCreated
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
cpptools/fileDeleted
  Processing folder (recursive): /myworkspace/include/
  Processing folder (recursive): /myworkspace/src/
  Discovering files: 14951 file(s) processed
  1 file(s) removed from database
Done discovering files.
Parsing remaining files...
  Parsing: 0 files(s) processed
Done parsing remaining files.
cpptools/clearCustomConfigurations
cpptools/didChangeCustomBrowseConfiguration
cpptools/resumeParsing
Populate include completion cache.
Discovering files...
  Processing folder (recursive): /usr/local/include/
  Processing folder (recursive): /usr/lib/clang/3.4.2/include/
  Processing folder (recursive): /usr/include/
  Processing folder (recursive): /myworkspace/include/
  Processing folder (recursive): /myworkspace/src/
  Discovering files: 14951 file(s) processed
  1 file(s) removed from database
Done discovering files.
Parsing remaining files...
  Parsing: 0 files(s) processed
Done parsing remaining files.
cpptools/didChangeCompileCommands
Database safe to open

2.run /usr/lib64/ccache/g++ -fopenmp -O3 -mavx2 -mbmi2 -g -O0 -fPIC -Wp,-v -E -dD -x c++ /dev/null shows

ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../x86_64-redhat-linux/include"
ignoring duplicate directory "/opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/intel/compilers_and_libraries_2019.5.281/linux/mkl/include
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/backward
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include
 /usr/local/include
 /usr/include
End of search list.
# 1 "/dev/null"
# 1 "/search/odin/fanpengcheng/workspace/test/mlflow_learn//"
# 1 "<built-in>"
#define __STDC__ 1
#define __cplusplus 199711L
#define __STDC_HOSTED__ 1
#define __GNUC__ 4
#define __GNUC_MINOR__ 8
#define __GNUC_PATCHLEVEL__ 5
#define __VERSION__ "4.8.5 20150623 (Red Hat 4.8.5-36)"
#define __GNUC_RH_RELEASE__ 36
#define __ATOMIC_RELAXED 0
#define __ATOMIC_SEQ_CST 5
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_RELEASE 3
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_CONSUME 1
#define __pic__ 2
#define __PIC__ 2
#define __FINITE_MATH_ONLY__ 0
#define _LP64 1
#define __LP64__ 1
#define __SIZEOF_INT__ 4
#define __SIZEOF_LONG__ 8
#define __SIZEOF_LONG_LONG__ 8
#define __SIZEOF_SHORT__ 2
#define __SIZEOF_FLOAT__ 4
#define __SIZEOF_DOUBLE__ 8
#define __SIZEOF_LONG_DOUBLE__ 16
#define __SIZEOF_SIZE_T__ 8
#define __CHAR_BIT__ 8
#define __BIGGEST_ALIGNMENT__ 32
#define __ORDER_LITTLE_ENDIAN__ 1234
#define __ORDER_BIG_ENDIAN__ 4321
#define __ORDER_PDP_ENDIAN__ 3412
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__
#define __SIZEOF_POINTER__ 8
#define __GNUG__ 4
#define __SIZE_TYPE__ long unsigned int
#define __PTRDIFF_TYPE__ long int
#define __WCHAR_TYPE__ int
#define __WINT_TYPE__ unsigned int
#define __INTMAX_TYPE__ long int
#define __UINTMAX_TYPE__ long unsigned int
#define __CHAR16_TYPE__ short unsigned int
#define __CHAR32_TYPE__ unsigned int
#define __SIG_ATOMIC_TYPE__ int
#define __INT8_TYPE__ signed char
#define __INT16_TYPE__ short int
#define __INT32_TYPE__ int
#define __INT64_TYPE__ long int
#define __UINT8_TYPE__ unsigned char
#define __UINT16_TYPE__ short unsigned int
#define __UINT32_TYPE__ unsigned int
#define __UINT64_TYPE__ long unsigned int
#define __INT_LEAST8_TYPE__ signed char
#define __INT_LEAST16_TYPE__ short int
#define __INT_LEAST32_TYPE__ int
#define __INT_LEAST64_TYPE__ long int
#define __UINT_LEAST8_TYPE__ unsigned char
#define __UINT_LEAST16_TYPE__ short unsigned int
#define __UINT_LEAST32_TYPE__ unsigned int
#define __UINT_LEAST64_TYPE__ long unsigned int
#define __INT_FAST8_TYPE__ signed char
#define __INT_FAST16_TYPE__ long int
#define __INT_FAST32_TYPE__ long int
#define __INT_FAST64_TYPE__ long int
#define __UINT_FAST8_TYPE__ unsigned char
#define __UINT_FAST16_TYPE__ long unsigned int
#define __UINT_FAST32_TYPE__ long unsigned int
#define __UINT_FAST64_TYPE__ long unsigned int
#define __INTPTR_TYPE__ long int
#define __UINTPTR_TYPE__ long unsigned int
#define __GXX_WEAK__ 1
#define __DEPRECATED 1
#define __GXX_RTTI 1
#define __EXCEPTIONS 1
#define __GXX_ABI_VERSION 1002
#define __SCHAR_MAX__ 127
#define __SHRT_MAX__ 32767
#define __INT_MAX__ 2147483647
#define __LONG_MAX__ 9223372036854775807L
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __WCHAR_MAX__ 2147483647
#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1)
#define __WINT_MAX__ 4294967295U
#define __WINT_MIN__ 0U
#define __PTRDIFF_MAX__ 9223372036854775807L
#define __SIZE_MAX__ 18446744073709551615UL
#define __INTMAX_MAX__ 9223372036854775807L
#define __INTMAX_C(c) c ## L
#define __UINTMAX_MAX__ 18446744073709551615UL
#define __UINTMAX_C(c) c ## UL
#define __SIG_ATOMIC_MAX__ 2147483647
#define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1)
#define __INT8_MAX__ 127
#define __INT16_MAX__ 32767
#define __INT32_MAX__ 2147483647
#define __INT64_MAX__ 9223372036854775807L
#define __UINT8_MAX__ 255
#define __UINT16_MAX__ 65535
#define __UINT32_MAX__ 4294967295U
#define __UINT64_MAX__ 18446744073709551615UL
#define __INT_LEAST8_MAX__ 127
#define __INT8_C(c) c
#define __INT_LEAST16_MAX__ 32767
#define __INT16_C(c) c
#define __INT_LEAST32_MAX__ 2147483647
#define __INT32_C(c) c
#define __INT_LEAST64_MAX__ 9223372036854775807L
#define __INT64_C(c) c ## L
#define __UINT_LEAST8_MAX__ 255
#define __UINT8_C(c) c
#define __UINT_LEAST16_MAX__ 65535
#define __UINT16_C(c) c
#define __UINT_LEAST32_MAX__ 4294967295U
#define __UINT32_C(c) c ## U
#define __UINT_LEAST64_MAX__ 18446744073709551615UL
#define __UINT64_C(c) c ## UL
#define __INT_FAST8_MAX__ 127
#define __INT_FAST16_MAX__ 9223372036854775807L
#define __INT_FAST32_MAX__ 9223372036854775807L
#define __INT_FAST64_MAX__ 9223372036854775807L
#define __UINT_FAST8_MAX__ 255
#define __UINT_FAST16_MAX__ 18446744073709551615UL
#define __UINT_FAST32_MAX__ 18446744073709551615UL
#define __UINT_FAST64_MAX__ 18446744073709551615UL
#define __INTPTR_MAX__ 9223372036854775807L
#define __UINTPTR_MAX__ 18446744073709551615UL
#define __FLT_EVAL_METHOD__ 0
#define __DEC_EVAL_METHOD__ 2
#define __FLT_RADIX__ 2
#define __FLT_MANT_DIG__ 24
#define __FLT_DIG__ 6
#define __FLT_MIN_EXP__ (-125)
#define __FLT_MIN_10_EXP__ (-37)
#define __FLT_MAX_EXP__ 128
#define __FLT_MAX_10_EXP__ 38
#define __FLT_DECIMAL_DIG__ 9
#define __FLT_MAX__ 3.40282346638528859812e+38F
#define __FLT_MIN__ 1.17549435082228750797e-38F
#define __FLT_EPSILON__ 1.19209289550781250000e-7F
#define __FLT_DENORM_MIN__ 1.40129846432481707092e-45F
#define __FLT_HAS_DENORM__ 1
#define __FLT_HAS_INFINITY__ 1
#define __FLT_HAS_QUIET_NAN__ 1
#define __DBL_MANT_DIG__ 53
#define __DBL_DIG__ 15
#define __DBL_MIN_EXP__ (-1021)
#define __DBL_MIN_10_EXP__ (-307)
#define __DBL_MAX_EXP__ 1024
#define __DBL_MAX_10_EXP__ 308
#define __DBL_DECIMAL_DIG__ 17
#define __DBL_MAX__ double(1.79769313486231570815e+308L)
#define __DBL_MIN__ double(2.22507385850720138309e-308L)
#define __DBL_EPSILON__ double(2.22044604925031308085e-16L)
#define __DBL_DENORM_MIN__ double(4.94065645841246544177e-324L)
#define __DBL_HAS_DENORM__ 1
#define __DBL_HAS_INFINITY__ 1
#define __DBL_HAS_QUIET_NAN__ 1
#define __LDBL_MANT_DIG__ 64
#define __LDBL_DIG__ 18
#define __LDBL_MIN_EXP__ (-16381)
#define __LDBL_MIN_10_EXP__ (-4931)
#define __LDBL_MAX_EXP__ 16384
#define __LDBL_MAX_10_EXP__ 4932
#define __DECIMAL_DIG__ 21
#define __LDBL_MAX__ 1.18973149535723176502e+4932L
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
#define __LDBL_HAS_DENORM__ 1
#define __LDBL_HAS_INFINITY__ 1
#define __LDBL_HAS_QUIET_NAN__ 1
#define __DEC32_MANT_DIG__ 7
#define __DEC32_MIN_EXP__ (-94)
#define __DEC32_MAX_EXP__ 97
#define __DEC32_MIN__ 1E-95DF
#define __DEC32_MAX__ 9.999999E96DF
#define __DEC32_EPSILON__ 1E-6DF
#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
#define __DEC64_MANT_DIG__ 16
#define __DEC64_MIN_EXP__ (-382)
#define __DEC64_MAX_EXP__ 385
#define __DEC64_MIN__ 1E-383DD
#define __DEC64_MAX__ 9.999999999999999E384DD
#define __DEC64_EPSILON__ 1E-15DD
#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
#define __DEC128_MANT_DIG__ 34
#define __DEC128_MIN_EXP__ (-6142)
#define __DEC128_MAX_EXP__ 6145
#define __DEC128_MIN__ 1E-6143DL
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
#define __DEC128_EPSILON__ 1E-33DL
#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
#define __REGISTER_PREFIX__ 
#define __USER_LABEL_PREFIX__ 
#define __GNUC_GNU_INLINE__ 1
#define __NO_INLINE__ 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
#define __GCC_ATOMIC_BOOL_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2
#define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __GCC_ATOMIC_SHORT_LOCK_FREE 2
#define __GCC_ATOMIC_INT_LOCK_FREE 2
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
#define __GCC_ATOMIC_LLONG_LOCK_FREE 2
#define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1
#define __GCC_ATOMIC_POINTER_LOCK_FREE 2
#define __GCC_HAVE_DWARF2_CFI_ASM 1
#define __PRAGMA_REDEFINE_EXTNAME 1
#define _OPENMP 201107
#define __SIZEOF_INT128__ 16
#define __SIZEOF_WCHAR_T__ 4
#define __SIZEOF_WINT_T__ 4
#define __SIZEOF_PTRDIFF_T__ 8
#define __amd64 1
#define __amd64__ 1
#define __x86_64 1
#define __x86_64__ 1
#define __ATOMIC_HLE_ACQUIRE 65536
#define __ATOMIC_HLE_RELEASE 131072
#define __k8 1
#define __k8__ 1
#define __code_model_small__ 1
#define __MMX__ 1
#define __SSE__ 1
#define __SSE2__ 1
#define __SSE3__ 1
#define __SSSE3__ 1
#define __SSE4_1__ 1
#define __SSE4_2__ 1
#define __AVX__ 1
#define __AVX2__ 1
#define __BMI2__ 1
#define __POPCNT__ 1
#define __FXSR__ 1
#define __XSAVE__ 1
#define __SSE_MATH__ 1
#define __SSE2_MATH__ 1
#define __gnu_linux__ 1
#define __linux 1
#define __linux__ 1
#define linux 1
#define __unix 1
#define __unix__ 1
#define unix 1
#define __ELF__ 1
#define __DECIMAL_BID_FORMAT__ 1
# 1 "<command-line>"
#define _GNU_SOURCE 1
#define _REENTRANT 1
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 19 "/usr/include/stdc-predef.h" 3 4
#define _STDC_PREDEF_H 1
# 30 "/usr/include/stdc-predef.h" 3 4
#define __STDC_IEC_559__ 1
#define __STDC_IEC_559_COMPLEX__ 1

#define __STDC_ISO_10646__ 201103L

#define __STDC_NO_THREADS__ 1
# 1 "<command-line>" 2
# 1 "/dev/null"
github-actions[bot] commented 3 years ago

Hey @sean-mcmanus, this issue might need further attention.

@stanpcf, you can help us out by closing this issue if the problem no longer exists, or adding more information.