vscode-cpptools
vscode-cpptools copied to clipboard
Code analysis should forward the -m32 flag to clang-tidy (and undefine __SIZEOF_FLOAT128__ on Windows)
Environment
- OS and Version: Windows 10 x64
- VS Code Version: 1.70.2
- C/C++ Extension Version: v1.12.4
- Other extensions you installed (and if the issue persists after disabling them): none
- If using SSH remote, specify OS of remote machine: N/A
- Using mingw 7.3.0 32bit, a simple "Hello world" program fails to be parsed by vscode with an "Error while processing" error in the problems window.
Bug Summary and Steps to Reproduce
Bug Summary: Intellisense / clang fails to parse a simple "hello world" program, shows errors (detailed below) in the problems window. Using mingw 7.3.0 (as installed by Qt 5.13.2, but doesnt look related to Qt) and the windows-gcc-x86 intellisense mode.
Maybe related to #9558 ?
Steps to reproduce:
- Reproduce the given workspace
- Open test.cpp
- observe red squiggles on first char of first line
Expected behavior
Expected behavior is working intellisense and no problems.
Code sample and Logs
test.cpp
#include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
}
C/C++ configuration (in settings.json, no c_cpp_properties.json)
{
"C_Cpp.default.compilerPath": "C:/Qt/Tools/mingw730_32/bin/gcc.exe",
"C_Cpp.default.cppStandard": "gnu++11",
"C_Cpp.default.cStandard": "gnu11",
"C_Cpp.default.intelliSenseMode": "windows-gcc-x86",
"C_Cpp.intelliSenseEngineFallback": "Enabled",
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
"C_Cpp.loggingLevel": "Debug",
"C_Cpp.autocompleteAddParentheses": true,
"C_Cpp.clang_format_path": "C:\\Program Files\\LLVM\\bin\\clang-format.exe",
}
Problems window :
[{
"resource": "/c:/Users/eandre/Documents/test mingw/test.cpp",
"owner": "clang-tidy",
"code": "clang-diagnostic-error",
"severity": 8,
"message": "Error while processing",
"source": "C/C++",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 2,
"relatedInformation": [
{
"startLineNumber": 6403,
"startColumn": 12,
"endLineNumber": 6403,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6408,
"startColumn": 12,
"endLineNumber": 6408,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6414,
"startColumn": 12,
"endLineNumber": 6414,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6419,
"startColumn": 12,
"endLineNumber": 6419,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6425,
"startColumn": 12,
"endLineNumber": 6425,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6431,
"startColumn": 12,
"endLineNumber": 6431,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6440,
"startColumn": 12,
"endLineNumber": 6440,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6449,
"startColumn": 12,
"endLineNumber": 6449,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6458,
"startColumn": 12,
"endLineNumber": 6458,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 6506,
"startColumn": 12,
"endLineNumber": 6506,
"endColumn": 21,
"message": "no matching function for call to '__to_xstring'",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/basic_string.h"
},
{
"startLineNumber": 99,
"startColumn": 5,
"endLineNumber": 99,
"endColumn": 17,
"message": "candidate function [with _String = std::basic_string<wchar_t>, _CharT = wchar_t] not viable: no overload of 'vswprintf' matching 'int (*)(wchar_t *, std::size_t, const wchar_t *, __builtin_va_list)' (aka 'int (*)(wchar_t *, unsigned int, const wchar_t *, char *)') for 1st argument",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/ext/string_conversions.h"
},
{
"startLineNumber": 101,
"startColumn": 3,
"endLineNumber": 101,
"endColumn": 13,
"message": "__float128 is not supported on this target",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/std_abs.h"
},
{
"startLineNumber": 102,
"startColumn": 7,
"endLineNumber": 102,
"endColumn": 17,
"message": "__float128 is not supported on this target",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/std_abs.h"
},
{
"startLineNumber": 120,
"startColumn": 7,
"endLineNumber": 120,
"endColumn": 15,
"message": "'operator new' takes type size_t ('unsigned long long') as first parameter",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/new"
},
{
"startLineNumber": 122,
"startColumn": 7,
"endLineNumber": 122,
"endColumn": 15,
"message": "'operator new[]' takes type size_t ('unsigned long long') as first parameter",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/new"
},
{
"startLineNumber": 134,
"startColumn": 7,
"endLineNumber": 134,
"endColumn": 15,
"message": "'operator new' takes type size_t ('unsigned long long') as first parameter",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/new"
},
{
"startLineNumber": 136,
"startColumn": 7,
"endLineNumber": 136,
"endColumn": 15,
"message": "'operator new[]' takes type size_t ('unsigned long long') as first parameter",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/new"
},
{
"startLineNumber": 168,
"startColumn": 14,
"endLineNumber": 168,
"endColumn": 22,
"message": "'operator new' takes type size_t ('unsigned long long') as first parameter",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/new"
},
{
"startLineNumber": 170,
"startColumn": 14,
"endLineNumber": 170,
"endColumn": 22,
"message": "'operator new[]' takes type size_t ('unsigned long long') as first parameter",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/new"
},
{
"startLineNumber": 347,
"startColumn": 39,
"endLineNumber": 347,
"endColumn": 49,
"message": "__float128 is not supported on this target",
"resource": "/C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/type_traits"
}
]
}]
C/C++ extension debug output:
loggingLevel: Debug
cpptools/didChangeCppProperties
Tentative d'obtention des valeurs par défaut du compilateur C dans la propriété "compilerPath" : 'C:/Qt/Tools/mingw730_32/bin/gcc.exe'
Interrogation du compilateur pour déterminer la norme de langage C++ par défaut via la ligne de commande : C:/Qt/Tools/mingw730_32/bin/gcc.exe -x c++ -E -dM nul
Version de la norme de langage détectée : gnu++14
Interrogation du compilateur pour déterminer la norme de langage C par défaut via la ligne de commande : C:/Qt/Tools/mingw730_32/bin/gcc.exe -x c -E -dM nul
Le compilateur a retourné la version standard du langage par défaut : gnu11. Étant donné que cette version est ancienne, essaiera d’utiliser une version plus récente c17 par défaut.
Interrogation de la cible par défaut du compilateur via la ligne de commande : "C:/Qt/Tools/mingw730_32/bin/gcc.exe" -dumpmachine
Le compilateur a retourné la valeur cible par défaut : i686-w64-mingw32
Ligne de commande d'interrogation du compilateur : C:/Qt/Tools/mingw730_32/bin/gcc.exe -std=gnu11 -m32 -Wp,-v -E -dM -x c nul
Service de navigation du code initialisé
Tentative d'obtention des valeurs par défaut du compilateur C++ dans la propriété "compilerPath" : 'C:/Qt/Tools/mingw730_32/bin/gcc.exe'
Ligne de commande d'interrogation du compilateur : C:/Qt/Tools/mingw730_32/bin/gcc.exe -std=gnu++11 -m32 -Wp,-v -E -dM -x c++ nul
Le dossier C:/QT/TOOLS/MINGW730_32/I686-W64-MINGW32/INCLUDE/ va être indexé
Le dossier C:/QT/TOOLS/MINGW730_32/LIB/GCC/I686-W64-MINGW32/7.3.0/INCLUDE/ va être indexé
Le dossier C:/QT/TOOLS/MINGW730_32/LIB/GCC/I686-W64-MINGW32/7.3.0/INCLUDE-FIXED/ va être indexé
Le dossier C:/USERS/EANDRE/DOCUMENTS/TEST MINGW/ va être indexé
textDocument/didOpen: C:\Users\eandre\Documents\test mingw\test.cpp
Découverte de fichiers...
cpptools/textEditorSelectionChange
cpptools/activeDocumentChange: C:\Users\eandre\Documents\test mingw\test.cpp
Traitement du dossier (récursif) : C:/QT/TOOLS/MINGW730_32/I686-W64-MINGW32/INCLUDE/
c:\Users\eandre\.vscode\extensions\ms-vscode.cpptools-1.12.4-win32-x64/bin/../LLVM/bin/clang-tidy.exe
--header-filter=(C:/Users/eandre/Documents/test mingw|C:\\Users\\eandre\\Documents\\test mingw)
--export-fixes=C:\Users\eandre\AppData\Local\Temp\loose\cpptools\2286356277392092851\fixes17236.yaml
--quiet
C:/Users/eandre/Documents/test mingw/test.cpp
--
-std=gnu++11
-xc++
-Wno-pragma-pack
-D_DEBUG
-DUNICODE
-D_UNICODE
-D__DBL_MIN_EXP__=(-1021)
-D__FLT32X_MAX_EXP__=1024
-D__cpp_attributes=200809
-D__pentiumpro__=1
-D__UINT_LEAST16_MAX__=0xffff
-D__ATOMIC_ACQUIRE=2
-D__FLT128_MAX_10_EXP__=4932
-D__FLT_MIN__=1.17549435082228750796873653722224568e-38F
-D__GCC_IEC_559_COMPLEX=2
-D__UINT_LEAST8_TYPE__=unsigned char
-D_WIN32=1
-D__INTMAX_C(c)=c ## LL
-D__CHAR_BIT__=8
-D__UINT8_MAX__=0xff
-D__WINT_MAX__=0xffff
-D__FLT32_MIN_EXP__=(-125)
-D__cpp_static_assert=200410
-D__ORDER_LITTLE_ENDIAN__=1234
-D__SIZE_MAX__=0xffffffffU
-D__WCHAR_MAX__=0xffff
-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
-D__DBL_DENORM_MIN__=double(4.94065645841246544176568792868221372e-324L)
-D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
-D__GCC_ATOMIC_CHAR_LOCK_FREE=2
-D__GCC_IEC_559=2
-D__FLT32X_DECIMAL_DIG__=17
-D__FLT_EVAL_METHOD__=2
-D__cpp_binary_literals=201304
-D__FLT64_DECIMAL_DIG__=17
-D__GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
-D__cpp_variadic_templates=200704
-D__UINT_FAST64_MAX__=0xffffffffffffffffULL
-D__SIG_ATOMIC_TYPE__=int
-D__DBL_MIN_10_EXP__=(-307)
-D__FINITE_MATH_ONLY__=0
-D__FLT32_HAS_DENORM__=1
-D__UINT_FAST8_MAX__=0xff
-D_stdcall=__attribute__((__stdcall__))
-D__DEC64_MAX_EXP__=385
-D__INT8_C(c)=c
-D__INT_LEAST8_WIDTH__=8
-D__UINT_LEAST64_MAX__=0xffffffffffffffffULL
-D__SHRT_MAX__=0x7fff
-D__LDBL_MAX__=1.18973149535723176502126385303097021e+4932L
-D__FLT64X_MAX_10_EXP__=4932
-D__UINT_LEAST8_MAX__=0xff
-D__GCC_ATOMIC_BOOL_LOCK_FREE=2
-D__FLT128_DENORM_MIN__=6.47517511943802511092443895822764655e-4966F128
-D__UINTMAX_TYPE__=long long unsigned int
-D__DEC32_EPSILON__=1E-6DF
-D__FLT_EVAL_METHOD_TS_18661_3__=2
-D__UINT32_MAX__=0xffffffffU
-D__GXX_EXPERIMENTAL_CXX0X__=1
-D__LDBL_MAX_EXP__=16384
-D__FLT128_MIN_EXP__=(-16381)
-D__WINT_MIN__=0
-D__FLT128_MIN_10_EXP__=(-4931)
-D__INT_LEAST16_WIDTH__=16
-D__SCHAR_MAX__=0x7f
-D__FLT128_MANT_DIG__=113
-D__WCHAR_MIN__=0
-D__INT64_C(c)=c ## LL
-D__DBL_DIG__=15
-D__GCC_ATOMIC_POINTER_LOCK_FREE=2
-D__FLT64X_MANT_DIG__=64
-D__SIZEOF_INT__=4
-D__SIZEOF_POINTER__=4
-D__GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
-D__USER_LABEL_PREFIX__=_
-D__FLT64X_EPSILON__=1.08420217248550443400745280086994171e-19F64x
-D__STDC_HOSTED__=1
-D__WIN32=1
-D__LDBL_HAS_INFINITY__=1
-D__FLT32_DIG__=6
-D__FLT_EPSILON__=1.19209289550781250000000000000000000e-7F
-D__GXX_WEAK__=1
-D__SHRT_WIDTH__=16
-D__LDBL_MIN__=3.36210314311209350626267781732175260e-4932L
-D__DEC32_MAX__=9.999999E96DF
-D__cpp_threadsafe_static_init=200806
-D__FLT64X_DENORM_MIN__=3.64519953188247460252840593361941982e-4951F64x
-D__MINGW32__=1
-D__FLT32X_HAS_INFINITY__=1
-D__INT32_MAX__=0x7fffffff
-D__INT_WIDTH__=32
-D__SIZEOF_LONG__=4
-D__UINT16_C(c)=c
-D__PTRDIFF_WIDTH__=32
-D__DECIMAL_DIG__=21
-D__FLT64_EPSILON__=2.22044604925031308084726333618164062e-16F64
-D__INTMAX_WIDTH__=64
-D__FLT64_MIN_EXP__=(-1021)
-D__FLT64X_MIN_10_EXP__=(-4931)
-D__LDBL_HAS_QUIET_NAN__=1
-D__FLT64_MANT_DIG__=53
-D_REENTRANT=1
-D_cdecl=__attribute__((__cdecl__))
-D__GXX_RTTI=1
-D__cpp_delegating_constructors=200604
-D__FLT_HAS_DENORM__=1
-D__SIZEOF_LONG_DOUBLE__=12
-D__BIGGEST_ALIGNMENT__=16
-D__STDC_UTF_16__=1
-D__FLT64_MAX_10_EXP__=308
-D__i686=1
-D__FLT32_HAS_INFINITY__=1
-D__DBL_MAX__=double(1.79769313486231570814527423731704357e+308L)
-D_thiscall=__attribute__((__thiscall__))
-D__cpp_raw_strings=200710
-D__INT_FAST32_MAX__=0x7fffffff
-D__WINNT=1
-D__DBL_HAS_INFINITY__=1
-D__INT64_MAX__=0x7fffffffffffffffLL
-D__WINNT__=1
-D__DEC32_MIN_EXP__=(-94)
-D__INTPTR_WIDTH__=32
-D__FLT32X_HAS_DENORM__=1
-D__INT_FAST16_TYPE__=short int
-D_fastcall=__attribute__((__fastcall__))
-D__LDBL_HAS_DENORM__=1
-D__cplusplus=201103L
-D__cpp_ref_qualifiers=200710
-D__DEC128_MAX__=9.999999999999999999999999999999999E6144DL
-D__INT_LEAST32_MAX__=0x7fffffff
-D__DEC32_MIN__=1E-95DF
-D__DEPRECATED=1
-D__cpp_rvalue_references=200610
-D__DBL_MAX_EXP__=1024
-D__WCHAR_WIDTH__=16
-D__FLT32_MAX__=3.40282346638528859811704183484516925e+38F32
-D__DEC128_EPSILON__=1E-33DL
-D__ATOMIC_HLE_RELEASE=131072
-D__WIN32__=1
-D__PTRDIFF_MAX__=0x7fffffff
-D__ATOMIC_HLE_ACQUIRE=65536
-D__FLT32_HAS_QUIET_NAN__=1
-D__GNUG__=7
-D__LONG_LONG_MAX__=0x7fffffffffffffffLL
-D__SIZEOF_SIZE_T__=4
-D__cpp_rvalue_reference=200610
-D__cpp_nsdmi=200809
-D__FLT64X_MIN_EXP__=(-16381)
-D__SIZEOF_WINT_T__=2
-D__LONG_LONG_WIDTH__=64
-D__cpp_initializer_lists=200806
-D__FLT32_MAX_EXP__=128
-D__cpp_hex_float=201603
-D__GCC_HAVE_DWARF2_CFI_ASM=1
-D__GXX_ABI_VERSION=1011
-D__FLT128_HAS_INFINITY__=1
-D__FLT_MIN_EXP__=(-125)
-D__i686__=1
-D__cpp_lambdas=200907
-D__FLT64X_HAS_QUIET_NAN__=1
-D__INT_FAST64_TYPE__=long long int
-D__FLT64_DENORM_MIN__=4.94065645841246544176568792868221372e-324F64
-D__DBL_MIN__=double(2.22507385850720138309023271733240406e-308L)
-D__FLT32X_EPSILON__=2.22044604925031308084726333618164062e-16F32x
-D__DECIMAL_BID_FORMAT__=1
-D__GXX_TYPEINFO_EQUALITY_INLINE=0
-D__FLT64_MIN_10_EXP__=(-307)
-D__FLT64X_DECIMAL_DIG__=21
-D__DEC128_MIN__=1E-6143DL
-D__REGISTER_PREFIX__=
-D__UINT16_MAX__=0xffff
-D__DBL_HAS_DENORM__=1
-D__cdecl=__attribute__((__cdecl__))
-D__FLT32_MIN__=1.17549435082228750796873653722224568e-38F32
-D__UINT8_TYPE__=unsigned char
-D__NO_INLINE__=1
-D__i386=1
-D__FLT_MANT_DIG__=24
-D__LDBL_DECIMAL_DIG__=21
-D__UINT64_C(c)=c ## ULL
-D__cpp_unicode_characters=200704
-D__GCC_ATOMIC_INT_LOCK_FREE=2
-D__FLT128_MAX_EXP__=16384
-D__FLT32_MANT_DIG__=24
-D_X86_=1
-D__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__
-D__FLT128_HAS_DENORM__=1
-D__FLT128_DIG__=33
-D__SCHAR_WIDTH__=8
-D__INT32_C(c)=c
-D__DEC64_EPSILON__=1E-15DD
-D__ORDER_PDP_ENDIAN__=3412
-D__DEC128_MIN_EXP__=(-6142)
-D__code_model_32__=1
-D__FLT32_MAX_10_EXP__=38
-D__INT_FAST32_TYPE__=int
-D__UINT_LEAST16_TYPE__=short unsigned int
-D__FLT64X_HAS_INFINITY__=1
-D__INT16_MAX__=0x7fff
-D__i386__=1
-D__cpp_rtti=199711
-D__SIZE_TYPE__=unsigned int
-D__UINT64_MAX__=0xffffffffffffffffULL
-D__FLT64X_DIG__=18
-D__INT8_TYPE__=signed char
-D__GCC_ASM_FLAG_OUTPUTS__=1
-D__FLT_RADIX__=2
-D__INT_LEAST16_TYPE__=short int
-D__LDBL_EPSILON__=1.08420217248550443400745280086994171e-19L
-D__UINTMAX_C(c)=c ## ULL
-D__SIG_ATOMIC_MAX__=0x7fffffff
-D__GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
-D__SIZEOF_PTRDIFF_T__=4
-D__FLT32X_MANT_DIG__=53
-D__FLT32X_MIN_EXP__=(-1021)
-D__DEC32_SUBNORMAL_MIN__=0.000001E-95DF
-D__pentiumpro=1
-D__MSVCRT__=1
-D__INT_FAST16_MAX__=0x7fff
-D__FLT64_DIG__=15
-D__UINT_FAST32_MAX__=0xffffffffU
-D__UINT_LEAST64_TYPE__=long long unsigned int
-D__FLT_HAS_QUIET_NAN__=1
-D__FLT_MAX_10_EXP__=38
-D__LONG_MAX__=0x7fffffffL
-D__FLT64X_HAS_DENORM__=1
-D__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL
-D__FLT_HAS_INFINITY__=1
-D__cpp_unicode_literals=200710
-D__UINT_FAST16_TYPE__=short unsigned int
-D__DEC64_MAX__=9.999999999999999E384DD
-D__INT_FAST32_WIDTH__=32
-D__CHAR16_TYPE__=short unsigned int
-D__PRAGMA_REDEFINE_EXTNAME=1
-D__SIZE_WIDTH__=32
-D__SEG_FS=1
-D__INT_LEAST16_MAX__=0x7fff
-D__DEC64_MANT_DIG__=16
-D__UINT_LEAST32_MAX__=0xffffffffU
-D__SEG_GS=1
-D__FLT32_DENORM_MIN__=1.40129846432481707092372958328991613e-45F32
-D__GCC_ATOMIC_LONG_LOCK_FREE=2
-D__SIG_ATOMIC_WIDTH__=32
-D__INT_LEAST64_TYPE__=long long int
-D__INT16_TYPE__=short int
-D__INT_LEAST8_TYPE__=signed char
-D__DEC32_MAX_EXP__=97
-D__INT_FAST8_MAX__=0x7f
-D__FLT128_MAX__=1.18973149535723176508575932662800702e+4932F128
-D__INTPTR_MAX__=0x7fffffff
-D__GXX_MERGED_TYPEINFO_NAMES=0
-D__cpp_range_based_for=200907
-D__FLT64_HAS_QUIET_NAN__=1
-D__stdcall=__attribute__((__stdcall__))
-D__FLT32_MIN_10_EXP__=(-37)
-D__EXCEPTIONS=1
-D__LDBL_MANT_DIG__=64
-D__DBL_HAS_QUIET_NAN__=1
-D__FLT64_HAS_INFINITY__=1
-D__FLT64X_MAX__=1.18973149535723176502126385303097021e+4932F64x
-D__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1)
-D__INTPTR_TYPE__=int
-D__UINT16_TYPE__=short unsigned int
-D__WCHAR_TYPE__=short unsigned int
-D__SIZEOF_FLOAT__=4
-D__UINTPTR_MAX__=0xffffffffU
-D__INT_FAST64_WIDTH__=64
-D__DEC64_MIN_EXP__=(-382)
-D__cpp_decltype=200707
-D__FLT32_DECIMAL_DIG__=9
-D__INT_FAST64_MAX__=0x7fffffffffffffffLL
-D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
-D__FLT_DIG__=6
-D__FLT64X_MAX_EXP__=16384
-D__UINT_FAST64_TYPE__=long long unsigned int
-D__INT_MAX__=0x7fffffff
-DWIN32=1
-D__INT64_TYPE__=long long int
-D__FLT_MAX_EXP__=128
-D__DBL_MANT_DIG__=53
-D__cpp_inheriting_constructors=201511
-D__SIZEOF_FLOAT128__=16
-D__INT_LEAST64_MAX__=0x7fffffffffffffffLL
-D__DEC64_MIN__=1E-383DD
-D__WINT_TYPE__=short unsigned int
-D__UINT_LEAST32_TYPE__=unsigned int
-D__SIZEOF_SHORT__=2
-D__LDBL_MIN_EXP__=(-16381)
-D__FLT64_MAX__=1.79769313486231570814527423731704357e+308F64
-D__WINT_WIDTH__=16
-D__INT_LEAST8_MAX__=0x7f
-D__FLT32X_MAX_10_EXP__=308
-D__WCHAR_UNSIGNED__=1
-D__LDBL_MAX_10_EXP__=4932
-D__ATOMIC_RELAXED=0
-D__DBL_EPSILON__=double(2.22044604925031308084726333618164062e-16L)
-D__thiscall=__attribute__((__thiscall__))
-D__FLT128_MIN__=3.36210314311209350626267781732175260e-4932F128
-D__UINT8_C(c)=c
-D__FLT64_MAX_EXP__=1024
-D__INT_LEAST32_TYPE__=int
-D__SIZEOF_WCHAR_T__=2
-D__FLT128_HAS_QUIET_NAN__=1
-D__INT_FAST8_TYPE__=signed char
-D__fastcall=__attribute__((__fastcall__))
-D__FLT64X_MIN__=3.36210314311209350626267781732175260e-4932F64x
-D__GNUC_STDC_INLINE__=1
-D__FLT64_HAS_DENORM__=1
-D__FLT32_EPSILON__=1.19209289550781250000000000000000000e-7F32
-D__DBL_DECIMAL_DIG__=17
-D__STDC_UTF_32__=1
-D__INT_FAST8_WIDTH__=8
-D__DEC_EVAL_METHOD__=2
-D__FLT32X_MAX__=1.79769313486231570814527423731704357e+308F32x
-D__ORDER_BIG_ENDIAN__=4321
-D__cpp_runtime_arrays=198712
-D__UINT64_TYPE__=long long unsigned int
-D__UINT32_C(c)=c ## U
-D__INTMAX_MAX__=0x7fffffffffffffffLL
-D__cpp_alias_templates=200704
-D__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
-DWINNT=1
-D__FLT_DENORM_MIN__=1.40129846432481707092372958328991613e-45F
-D__INT8_MAX__=0x7f
-D__LONG_WIDTH__=32
-D__UINT_FAST32_TYPE__=unsigned int
-D__CHAR32_TYPE__=unsigned int
-D__FLT_MAX__=3.40282346638528859811704183484516925e+38F
-D__cpp_constexpr=200704
-D__INT32_TYPE__=int
-D__SIZEOF_DOUBLE__=8
-D__cpp_exceptions=199711
-D__FLT_MIN_10_EXP__=(-37)
-D__FLT64_MIN__=2.22507385850720138309023271733240406e-308F64
-D__INT_LEAST32_WIDTH__=32
-D__INTMAX_TYPE__=long long int
-Di386=1
-D_INTEGRAL_MAX_BITS=64
-D__DEC128_MAX_EXP__=6145
-D__FLT32X_HAS_QUIET_NAN__=1
-D__ATOMIC_CONSUME=1
-D__INT_FAST16_WIDTH__=16
-D__UINTMAX_MAX__=0xffffffffffffffffULL
-D__DEC32_MANT_DIG__=7
-D__FLT32X_DENORM_MIN__=4.94065645841246544176568792868221372e-324F32x
-D__DBL_MAX_10_EXP__=308
-D__LDBL_DENORM_MIN__=3.64519953188247460252840593361941982e-4951L
-D__INT16_C(c)=c
-D__STDC__=1
-D__FLT32X_DIG__=15
-D__PTRDIFF_TYPE__=int
-D__ATOMIC_SEQ_CST=5
-D__UINT32_TYPE__=unsigned int
-D__FLT32X_MIN_10_EXP__=(-307)
-D__UINTPTR_TYPE__=unsigned int
-D__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD
-D__DEC128_MANT_DIG__=34
-D__LDBL_MIN_10_EXP__=(-4931)
-D__FLT128_EPSILON__=1.92592994438723585305597794258492732e-34F128
-D__SIZEOF_LONG_LONG__=8
-D__cpp_user_defined_literals=200809
-D__FLT128_DECIMAL_DIG__=36
-D__GCC_ATOMIC_LLONG_LOCK_FREE=2
-D__FLT32X_MIN__=2.22507385850720138309023271733240406e-308F32x
-D__LDBL_DIG__=18
-D__FLT_DECIMAL_DIG__=9
-D__UINT_FAST16_MAX__=0xffff
-D__GCC_ATOMIC_SHORT_LOCK_FREE=2
-D__INT_LEAST64_WIDTH__=64
-D__UINT_FAST8_TYPE__=unsigned char
-D__ATOMIC_ACQ_REL=4
-D__ATOMIC_RELEASE=3
-D__declspec(x)=__attribute__((x))
-isystemC:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++
-isystemC:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/i686-w64-mingw32
-isystemC:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/backward
-isystemC:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include
-isystemC:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include-fixed
-isystemC:/Qt/Tools/mingw730_32/i686-w64-mingw32/include
$/setTrace
cpptools/didChangeSettings
Moteur IntelliSense = Default.
L'extension utilise l'analyseur de balises pour IntelliSense quand les #includes ne sont pas résolus.
La colorisation améliorée est activée.
Les tildes d'erreur sont activés si toutes les dépendances d'en-tête sont résolues.
L'autocomplétion est activée.
cpptools/getInlayHints: C:\Users\eandre\Documents\test mingw\test.cpp (id: 2)
Traitement du dossier (récursif) : C:/QT/TOOLS/MINGW730_32/LIB/GCC/I686-W64-MINGW32/7.3.0/INCLUDE/
envoi des arguments de compilation pour C:\Users\eandre\Documents\test mingw\test.cpp
inclusion : C:\QT\TOOLS\MINGW730_32\LIB\GCC\I686-W64-MINGW32\7.3.0\INCLUDE\C++
inclusion : C:\QT\TOOLS\MINGW730_32\LIB\GCC\I686-W64-MINGW32\7.3.0\INCLUDE\C++\I686-W64-MINGW32
inclusion : C:\QT\TOOLS\MINGW730_32\LIB\GCC\I686-W64-MINGW32\7.3.0\INCLUDE\C++\BACKWARD
inclusion : C:\QT\TOOLS\MINGW730_32\LIB\GCC\I686-W64-MINGW32\7.3.0\INCLUDE
inclusion : C:\QT\TOOLS\MINGW730_32\LIB\GCC\I686-W64-MINGW32\7.3.0\INCLUDE-FIXED
inclusion : C:\QT\TOOLS\MINGW730_32\I686-W64-MINGW32\INCLUDE
définition : __DBL_MIN_EXP__=(-1021)
définition : __FLT32X_MAX_EXP__=1024
définition : __pentiumpro__=1
définition : __UINT_LEAST16_MAX__=0xffff
définition : __ATOMIC_ACQUIRE=2
définition : __FLT128_MAX_10_EXP__=4932
définition : __FLT_MIN__=1.17549435082228750796873653722224568e-38F
définition : __GCC_IEC_559_COMPLEX=2
définition : __UINT_LEAST8_TYPE__=unsigned char
définition : __SIZEOF_FLOAT80__=12
définition : _WIN32=1
définition : __INTMAX_C(c)=c ## LL
définition : __CHAR_BIT__=8
définition : __UINT8_MAX__=0xff
définition : __WINT_MAX__=0xffff
définition : __FLT32_MIN_EXP__=(-125)
définition : __ORDER_LITTLE_ENDIAN__=1234
définition : __SIZE_MAX__=0xffffffffU
définition : __WCHAR_MAX__=0xffff
définition : __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
définition : __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
définition : __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
définition : __DBL_DENORM_MIN__=double(4.94065645841246544176568792868221372e-324L)
définition : __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
définition : __GCC_ATOMIC_CHAR_LOCK_FREE=2
définition : __GCC_IEC_559=2
définition : __FLT32X_DECIMAL_DIG__=17
définition : __FLT_EVAL_METHOD__=2
définition : __FLT64_DECIMAL_DIG__=17
définition : __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
définition : __UINT_FAST64_MAX__=0xffffffffffffffffULL
définition : __SIG_ATOMIC_TYPE__=int
définition : __DBL_MIN_10_EXP__=(-307)
définition : __FINITE_MATH_ONLY__=0
définition : __GNUC_PATCHLEVEL__=0
définition : __FLT32_HAS_DENORM__=1
définition : __UINT_FAST8_MAX__=0xff
définition : _stdcall=__attribute__((__stdcall__))
définition : __DEC64_MAX_EXP__=385
définition : __INT8_C(c)=c
définition : __INT_LEAST8_WIDTH__=8
définition : __UINT_LEAST64_MAX__=0xffffffffffffffffULL
définition : __SHRT_MAX__=0x7fff
définition : __LDBL_MAX__=1.18973149535723176502126385303097021e+4932L
définition : __FLT64X_MAX_10_EXP__=4932
définition : __UINT_LEAST8_MAX__=0xff
définition : __GCC_ATOMIC_BOOL_LOCK_FREE=2
définition : __FLT128_DENORM_MIN__=6.47517511943802511092443895822764655e-4966F128
définition : __UINTMAX_TYPE__=long long unsigned int
définition : __DEC32_EPSILON__=1E-6DF
définition : __FLT_EVAL_METHOD_TS_18661_3__=2
définition : __UINT32_MAX__=0xffffffffU
définition : __GXX_EXPERIMENTAL_CXX0X__=1
définition : __LDBL_MAX_EXP__=16384
définition : __FLT128_MIN_EXP__=(-16381)
définition : __WINT_MIN__=0
définition : __FLT128_MIN_10_EXP__=(-4931)
définition : __INT_LEAST16_WIDTH__=16
définition : __SCHAR_MAX__=0x7f
définition : __FLT128_MANT_DIG__=113
définition : __WCHAR_MIN__=0
définition : __INT64_C(c)=c ## LL
définition : __DBL_DIG__=15
définition : __GCC_ATOMIC_POINTER_LOCK_FREE=2
définition : __FLT64X_MANT_DIG__=64
définition : __SIZEOF_INT__=4
définition : __SIZEOF_POINTER__=4
définition : __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
définition : __USER_LABEL_PREFIX__=_
définition : __FLT64X_EPSILON__=1.08420217248550443400745280086994171e-19F64x
définition : __STDC_HOSTED__=1
définition : __WIN32=1
définition : __LDBL_HAS_INFINITY__=1
définition : __FLT32_DIG__=6
définition : __FLT_EPSILON__=1.19209289550781250000000000000000000e-7F
définition : __GXX_WEAK__=1
définition : __SHRT_WIDTH__=16
définition : __LDBL_MIN__=3.36210314311209350626267781732175260e-4932L
définition : __DEC32_MAX__=9.999999E96DF
définition : __FLT64X_DENORM_MIN__=3.64519953188247460252840593361941982e-4951F64x
définition : __MINGW32__=1
définition : __FLT32X_HAS_INFINITY__=1
définition : __INT32_MAX__=0x7fffffff
définition : __INT_WIDTH__=32
définition : __SIZEOF_LONG__=4
définition : __UINT16_C(c)=c
définition : __PTRDIFF_WIDTH__=32
définition : __DECIMAL_DIG__=21
définition : __FLT64_EPSILON__=2.22044604925031308084726333618164062e-16F64
définition : __INTMAX_WIDTH__=64
définition : __FLT64_MIN_EXP__=(-1021)
définition : __FLT64X_MIN_10_EXP__=(-4931)
définition : __LDBL_HAS_QUIET_NAN__=1
définition : __FLT64_MANT_DIG__=53
définition : _REENTRANT=1
définition : __GNUC__=7
définition : _cdecl=__attribute__((__cdecl__))
définition : __GXX_RTTI=1
définition : __FLT_HAS_DENORM__=1
définition : __SIZEOF_LONG_DOUBLE__=12
définition : __BIGGEST_ALIGNMENT__=16
définition : __STDC_UTF_16__=1
définition : __FLT64_MAX_10_EXP__=308
définition : __i686=1
définition : __FLT32_HAS_INFINITY__=1
définition : __DBL_MAX__=double(1.79769313486231570814527423731704357e+308L)
définition : _thiscall=__attribute__((__thiscall__))
définition : __INT_FAST32_MAX__=0x7fffffff
définition : __WINNT=1
définition : __DBL_HAS_INFINITY__=1
définition : __INT64_MAX__=0x7fffffffffffffffLL
définition : __WINNT__=1
définition : __DEC32_MIN_EXP__=(-94)
définition : __INTPTR_WIDTH__=32
définition : __FLT32X_HAS_DENORM__=1
définition : __INT_FAST16_TYPE__=short int
définition : _fastcall=__attribute__((__fastcall__))
définition : __LDBL_HAS_DENORM__=1
définition : __cplusplus=201103L
définition : __DEC128_MAX__=9.999999999999999999999999999999999E6144DL
définition : __INT_LEAST32_MAX__=0x7fffffff
définition : __DEC32_MIN__=1E-95DF
définition : __DEPRECATED=1
définition : __DBL_MAX_EXP__=1024
définition : __WCHAR_WIDTH__=16
définition : __FLT32_MAX__=3.40282346638528859811704183484516925e+38F32
définition : __DEC128_EPSILON__=1E-33DL
définition : __ATOMIC_HLE_RELEASE=131072
définition : __WIN32__=1
définition : __PTRDIFF_MAX__=0x7fffffff
définition : __ATOMIC_HLE_ACQUIRE=65536
définition : __FLT32_HAS_QUIET_NAN__=1
définition : __GNUG__=7
définition : __LONG_LONG_MAX__=0x7fffffffffffffffLL
définition : __SIZEOF_SIZE_T__=4
définition : __FLT64X_MIN_EXP__=(-16381)
définition : __SIZEOF_WINT_T__=2
définition : __LONG_LONG_WIDTH__=64
définition : __FLT32_MAX_EXP__=128
définition : __GCC_HAVE_DWARF2_CFI_ASM=1
définition : __GXX_ABI_VERSION=1011
définition : __FLT128_HAS_INFINITY__=1
définition : __FLT_MIN_EXP__=(-125)
définition : __i686__=1
définition : __FLT64X_HAS_QUIET_NAN__=1
définition : __INT_FAST64_TYPE__=long long int
définition : __FLT64_DENORM_MIN__=4.94065645841246544176568792868221372e-324F64
définition : __DBL_MIN__=double(2.22507385850720138309023271733240406e-308L)
définition : __FLT32X_EPSILON__=2.22044604925031308084726333618164062e-16F32x
définition : __DECIMAL_BID_FORMAT__=1
définition : __GXX_TYPEINFO_EQUALITY_INLINE=0
définition : __FLT64_MIN_10_EXP__=(-307)
définition : __FLT64X_DECIMAL_DIG__=21
définition : __DEC128_MIN__=1E-6143DL
définition : __REGISTER_PREFIX__=
définition : __UINT16_MAX__=0xffff
définition : __DBL_HAS_DENORM__=1
définition : __cdecl=__attribute__((__cdecl__))
définition : __FLT32_MIN__=1.17549435082228750796873653722224568e-38F32
définition : __UINT8_TYPE__=unsigned char
définition : __NO_INLINE__=1
définition : __i386=1
définition : __FLT_MANT_DIG__=24
définition : __LDBL_DECIMAL_DIG__=21
définition : __VERSION__="7.3.0"
définition : __UINT64_C(c)=c ## ULL
définition : __GCC_ATOMIC_INT_LOCK_FREE=2
définition : __FLT128_MAX_EXP__=16384
définition : __FLT32_MANT_DIG__=24
définition : _X86_=1
définition : __FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__
définition : __FLT128_HAS_DENORM__=1
définition : __FLT128_DIG__=33
définition : __SCHAR_WIDTH__=8
définition : __INT32_C(c)=c
définition : __DEC64_EPSILON__=1E-15DD
définition : __ORDER_PDP_ENDIAN__=3412
définition : __DEC128_MIN_EXP__=(-6142)
définition : __code_model_32__=1
définition : __FLT32_MAX_10_EXP__=38
définition : __INT_FAST32_TYPE__=int
définition : __UINT_LEAST16_TYPE__=short unsigned int
définition : __FLT64X_HAS_INFINITY__=1
définition : __INT16_MAX__=0x7fff
définition : __i386__=1
définition : __SIZE_TYPE__=unsigned int
définition : __UINT64_MAX__=0xffffffffffffffffULL
définition : __FLT64X_DIG__=18
définition : __INT8_TYPE__=signed char
définition : __GCC_ASM_FLAG_OUTPUTS__=1
définition : __FLT_RADIX__=2
définition : __INT_LEAST16_TYPE__=short int
définition : __LDBL_EPSILON__=1.08420217248550443400745280086994171e-19L
définition : __UINTMAX_C(c)=c ## ULL
définition : __SIG_ATOMIC_MAX__=0x7fffffff
définition : __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
définition : __SIZEOF_PTRDIFF_T__=4
définition : __FLT32X_MANT_DIG__=53
définition : __FLT32X_MIN_EXP__=(-1021)
définition : __DEC32_SUBNORMAL_MIN__=0.000001E-95DF
définition : __pentiumpro=1
définition : __MSVCRT__=1
définition : __INT_FAST16_MAX__=0x7fff
définition : __FLT64_DIG__=15
définition : __UINT_FAST32_MAX__=0xffffffffU
définition : __UINT_LEAST64_TYPE__=long long unsigned int
définition : __FLT_HAS_QUIET_NAN__=1
définition : __FLT_MAX_10_EXP__=38
définition : __LONG_MAX__=0x7fffffffL
définition : __FLT64X_HAS_DENORM__=1
définition : __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL
définition : __FLT_HAS_INFINITY__=1
définition : __UINT_FAST16_TYPE__=short unsigned int
définition : __DEC64_MAX__=9.999999999999999E384DD
définition : __INT_FAST32_WIDTH__=32
définition : __CHAR16_TYPE__=short unsigned int
définition : __PRAGMA_REDEFINE_EXTNAME=1
définition : __SIZE_WIDTH__=32
définition : __SEG_FS=1
définition : __INT_LEAST16_MAX__=0x7fff
définition : __DEC64_MANT_DIG__=16
définition : __UINT_LEAST32_MAX__=0xffffffffU
définition : __SEG_GS=1
définition : __FLT32_DENORM_MIN__=1.40129846432481707092372958328991613e-45F32
définition : __GCC_ATOMIC_LONG_LOCK_FREE=2
définition : __SIG_ATOMIC_WIDTH__=32
définition : __INT_LEAST64_TYPE__=long long int
définition : __INT16_TYPE__=short int
définition : __INT_LEAST8_TYPE__=signed char
définition : __DEC32_MAX_EXP__=97
définition : __INT_FAST8_MAX__=0x7f
définition : __FLT128_MAX__=1.18973149535723176508575932662800702e+4932F128
définition : __INTPTR_MAX__=0x7fffffff
définition : __GXX_MERGED_TYPEINFO_NAMES=0
définition : __FLT64_HAS_QUIET_NAN__=1
définition : __stdcall=__attribute__((__stdcall__))
définition : __FLT32_MIN_10_EXP__=(-37)
définition : __EXCEPTIONS=1
définition : __LDBL_MANT_DIG__=64
définition : __DBL_HAS_QUIET_NAN__=1
définition : __FLT64_HAS_INFINITY__=1
définition : __FLT64X_MAX__=1.18973149535723176502126385303097021e+4932F64x
définition : __SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1)
définition : __INTPTR_TYPE__=int
définition : __UINT16_TYPE__=short unsigned int
définition : __WCHAR_TYPE__=short unsigned int
définition : __SIZEOF_FLOAT__=4
définition : __UINTPTR_MAX__=0xffffffffU
définition : __INT_FAST64_WIDTH__=64
définition : __DEC64_MIN_EXP__=(-382)
définition : __FLT32_DECIMAL_DIG__=9
définition : __INT_FAST64_MAX__=0x7fffffffffffffffLL
définition : __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
définition : __FLT_DIG__=6
définition : __FLT64X_MAX_EXP__=16384
définition : __UINT_FAST64_TYPE__=long long unsigned int
définition : __INT_MAX__=0x7fffffff
définition : WIN32=1
définition : __INT64_TYPE__=long long int
définition : __FLT_MAX_EXP__=128
définition : __DBL_MANT_DIG__=53
définition : __SIZEOF_FLOAT128__=16
définition : __INT_LEAST64_MAX__=0x7fffffffffffffffLL
définition : __DEC64_MIN__=1E-383DD
définition : __WINT_TYPE__=short unsigned int
définition : __UINT_LEAST32_TYPE__=unsigned int
définition : __SIZEOF_SHORT__=2
définition : __LDBL_MIN_EXP__=(-16381)
définition : __FLT64_MAX__=1.79769313486231570814527423731704357e+308F64
définition : __WINT_WIDTH__=16
définition : __INT_LEAST8_MAX__=0x7f
définition : __FLT32X_MAX_10_EXP__=308
définition : __WCHAR_UNSIGNED__=1
définition : __LDBL_MAX_10_EXP__=4932
définition : __ATOMIC_RELAXED=0
définition : __DBL_EPSILON__=double(2.22044604925031308084726333618164062e-16L)
définition : __thiscall=__attribute__((__thiscall__))
définition : __FLT128_MIN__=3.36210314311209350626267781732175260e-4932F128
définition : __UINT8_C(c)=c
définition : __FLT64_MAX_EXP__=1024
définition : __INT_LEAST32_TYPE__=int
définition : __SIZEOF_WCHAR_T__=2
définition : __FLT128_HAS_QUIET_NAN__=1
définition : __INT_FAST8_TYPE__=signed char
définition : __fastcall=__attribute__((__fastcall__))
définition : __FLT64X_MIN__=3.36210314311209350626267781732175260e-4932F64x
définition : __GNUC_STDC_INLINE__=1
définition : __FLT64_HAS_DENORM__=1
définition : __FLT32_EPSILON__=1.19209289550781250000000000000000000e-7F32
définition : __DBL_DECIMAL_DIG__=17
définition : __STDC_UTF_32__=1
définition : __INT_FAST8_WIDTH__=8
définition : __DEC_EVAL_METHOD__=2
définition : __FLT32X_MAX__=1.79769313486231570814527423731704357e+308F32x
définition : __ORDER_BIG_ENDIAN__=4321
définition : __UINT64_TYPE__=long long unsigned int
définition : __UINT32_C(c)=c ## U
définition : __INTMAX_MAX__=0x7fffffffffffffffLL
définition : __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
définition : WINNT=1
définition : __FLT_DENORM_MIN__=1.40129846432481707092372958328991613e-45F
définition : __INT8_MAX__=0x7f
définition : __LONG_WIDTH__=32
définition : __UINT_FAST32_TYPE__=unsigned int
définition : __CHAR32_TYPE__=unsigned int
définition : __FLT_MAX__=3.40282346638528859811704183484516925e+38F
définition : __INT32_TYPE__=int
définition : __SIZEOF_DOUBLE__=8
définition : __FLT_MIN_10_EXP__=(-37)
définition : __FLT64_MIN__=2.22507385850720138309023271733240406e-308F64
définition : __INT_LEAST32_WIDTH__=32
définition : __INTMAX_TYPE__=long long int
définition : i386=1
définition : _INTEGRAL_MAX_BITS=64
définition : __DEC128_MAX_EXP__=6145
définition : __FLT32X_HAS_QUIET_NAN__=1
définition : __ATOMIC_CONSUME=1
définition : __GNUC_MINOR__=3
définition : __INT_FAST16_WIDTH__=16
définition : __UINTMAX_MAX__=0xffffffffffffffffULL
définition : __DEC32_MANT_DIG__=7
définition : __FLT32X_DENORM_MIN__=4.94065645841246544176568792868221372e-324F32x
définition : __DBL_MAX_10_EXP__=308
définition : __LDBL_DENORM_MIN__=3.64519953188247460252840593361941982e-4951L
définition : __INT16_C(c)=c
définition : __STDC__=1
définition : __FLT32X_DIG__=15
définition : __PTRDIFF_TYPE__=int
définition : __ATOMIC_SEQ_CST=5
définition : __UINT32_TYPE__=unsigned int
définition : __FLT32X_MIN_10_EXP__=(-307)
définition : __UINTPTR_TYPE__=unsigned int
définition : __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD
définition : __DEC128_MANT_DIG__=34
définition : __LDBL_MIN_10_EXP__=(-4931)
définition : __FLT128_EPSILON__=1.92592994438723585305597794258492732e-34F128
définition : __SIZEOF_LONG_LONG__=8
définition : __FLT128_DECIMAL_DIG__=36
définition : __GCC_ATOMIC_LLONG_LOCK_FREE=2
définition : __FLT32X_MIN__=2.22507385850720138309023271733240406e-308F32x
définition : __LDBL_DIG__=18
définition : __FLT_DECIMAL_DIG__=9
définition : __UINT_FAST16_MAX__=0xffff
définition : __GCC_ATOMIC_SHORT_LOCK_FREE=2
définition : __INT_LEAST64_WIDTH__=64
définition : __UINT_FAST8_TYPE__=unsigned char
définition : __ATOMIC_ACQ_REL=4
définition : __ATOMIC_RELEASE=3
définition : __declspec(x)=__attribute__((x))
définition : _DEBUG
définition : UNICODE
définition : _UNICODE
autre : --g++
autre : --gnu_version=70300
stdver: c++11
intelliSenseMode: windows-gcc-x86
Recherche des erreurs de syntaxe : C:\Users\eandre\Documents\test mingw\test.cpp
Mise en file d'attente de la mise à jour IntelliSense pour les fichiers dans l'unité de traduction de : C:\Users\eandre\Documents\test mingw\test.cpp
Traitement du dossier (récursif) : C:/QT/TOOLS/MINGW730_32/LIB/GCC/I686-W64-MINGW32/7.3.0/INCLUDE-FIXED/
Traitement du dossier (récursif) : C:/USERS/EANDRE/DOCUMENTS/TEST MINGW/
Découverte de fichiers : 2367 fichier(s) traité(s)
0 fichier(s) supprimé(s) dans la base de données
Découverte de fichiers terminée.
Analyse des fichiers ouverts...
Remplissage du cache de fin d'inclusion.
Analyse des fichiers ouverts terminée.
Analyse des fichiers restants...
Analyse : 0 fichier(s) traité(s)
Analyse des fichiers restants terminée.
Error while processing C:\Users\eandre\Documents\test mingw\test.cpp.
error: too many errors emitted, stopping now [clang-diagnostic-error]
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6403:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
{ return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, 4 * sizeof(int),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6408:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
{ return __gnu_cxx::__to_xstring<string>(&std::vsnprintf,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6414:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
{ return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, 4 * sizeof(long),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6419:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
{ return __gnu_cxx::__to_xstring<string>(&std::vsnprintf,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6425:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
{ return __gnu_cxx::__to_xstring<string>(&std::vsnprintf,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6431:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
{ return __gnu_cxx::__to_xstring<string>(&std::vsnprintf,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6440:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6449:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6458:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
return __gnu_cxx::__to_xstring<string>(&std::vsnprintf, __n,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate template ignored: could not match 'std::size_t' (aka 'unsigned int') against 'size_t' (aka 'unsigned long long')
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/basic_string.h:6506:12: error: no matching function for call to '__to_xstring' [clang-diagnostic-error]
{ return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\ext/string_conversions.h:99:5: note: candidate function [with _String = std::basic_string<wchar_t>, _CharT = wchar_t] not viable: no overload of 'vswprintf' matching 'int (*)(wchar_t *, std::size_t, const wchar_t *, __builtin_va_list)' (aka 'int (*)(wchar_t *, unsigned int, const wchar_t *, char *)') for 1st argument
__to_xstring(int (*__convf) (_CharT*, std::size_t, const _CharT*,
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/std_abs.h:101:3: error: __float128 is not supported on this target [clang-diagnostic-error]
__float128
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\bits/std_abs.h:102:7: error: __float128 is not supported on this target [clang-diagnostic-error]
abs(__float128 __x)
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\new:120:7: error: 'operator new' takes type size_t ('unsigned long long') as first parameter [clang-diagnostic-error]
void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\new:122:7: error: 'operator new[]' takes type size_t ('unsigned long long') as first parameter [clang-diagnostic-error]
void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\new:134:7: error: 'operator new' takes type size_t ('unsigned long long') as first parameter [clang-diagnostic-error]
void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\new:136:7: error: 'operator new[]' takes type size_t ('unsigned long long') as first parameter [clang-diagnostic-error]
void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\new:168:14: error: 'operator new' takes type size_t ('unsigned long long') as first parameter [clang-diagnostic-error]
inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\new:170:14: error: 'operator new[]' takes type size_t ('unsigned long long') as first parameter [clang-diagnostic-error]
inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^
C:/Qt/Tools/mingw730_32/lib/gcc/i686-w64-mingw32/7.3.0/include/c++\type_traits:347:39: error: __float128 is not supported on this target [clang-diagnostic-error]
struct __is_floating_point_helper<__float128>
^
cpptools/finishUpdateSquiggles
Nombre de tildes d'erreur : 0
Durée de mise à jour d'IntelliSense (s) : 0.665
cpptools/getSemanticTokens: C:\Users\eandre\Documents\test mingw\test.cpp (id: 3)
cpptools/getDocumentSymbols: C:\Users\eandre\Documents\test mingw\test.cpp (id: 4)
cpptools/getDocumentSymbols
cpptools/getFoldingRanges: C:\Users\eandre\Documents\test mingw\test.cpp (id: 5)
Screenshots
No response
Additional context
No response
This is currently "by design" and is an error with code analysis (not IntelliSense) -- see https://github.com/microsoft/vscode-cpptools/issues/9198#issuecomment-1127821871 for a potential workaround. The problem is that your compilerPath/Args and headers are for gcc but clang(-tidy) doesn't support the __float128 type that ends up getting used. It might be possible for us to so somehow work around this issue though by omitting the problematic defines, however, I'm not sure it would 100% fix all the potential issues.
Thank you for the help. However, the workaround proposed in #9198 does not help clang-tidy, which keeps outputting the same errors, despite the forced include with #undef __i386__
being present in its command line args:
(...)
-includeC:/Users/eandre/Desktop/SAT/fix-clang-gcc.h
(...)
Yeah, repro the issue -- it becomes fixed if instead I use
#undef __SIZEOF_FLOAT128__
I see 3 other i386 defines that might also need to be undefined, but I don't have repro for where those matter (maybe for different versions of gcc headers).
Also, you'll need to add
"C_Cpp.codeAnalysis.clangTidy.args": [
"--extra-arg=-m32"
],
to your settings.
I think we may be able to do this fix automatically so we can use this issue to track that.