Advertisement
oblivioncth

Qt6 debug only attempt cmakeoutput

Jan 7th, 2021
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.00 KB | None | 0 0
  1. The system is: Windows - 10.0.19041 - AMD64
  2. Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
  3. Compiler: C:/Engineering/Development/Visual Studio/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe
  4. Build flags:
  5. Id flags:
  6.  
  7. The output was:
  8. 0
  9. Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29335 for x64
  10. Copyright (C) Microsoft Corporation. All rights reserved.
  11.  
  12. CMakeCXXCompilerId.cpp
  13. Microsoft (R) Incremental Linker Version 14.28.29335.0
  14. Copyright (C) Microsoft Corporation. All rights reserved.
  15.  
  16. /out:CMakeCXXCompilerId.exe
  17. CMakeCXXCompilerId.obj
  18.  
  19.  
  20. Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe"
  21.  
  22. Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
  23.  
  24. The CXX compiler identification is MSVC, found in "C:/Q/CMakeFiles/3.19.2/CompilerIdCXX/CMakeCXXCompilerId.exe"
  25.  
  26. Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
  27. Compiler: C:/Engineering/Development/Visual Studio/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe
  28. Build flags:
  29. Id flags:
  30.  
  31. The output was:
  32. 0
  33. Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29335 for x64
  34. Copyright (C) Microsoft Corporation. All rights reserved.
  35.  
  36. CMakeCCompilerId.c
  37. Microsoft (R) Incremental Linker Version 14.28.29335.0
  38. Copyright (C) Microsoft Corporation. All rights reserved.
  39.  
  40. /out:CMakeCCompilerId.exe
  41. CMakeCCompilerId.obj
  42.  
  43.  
  44. Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"
  45.  
  46. Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
  47.  
  48. The C compiler identification is MSVC, found in "C:/Q/CMakeFiles/3.19.2/CompilerIdC/CMakeCCompilerId.exe"
  49.  
  50. Checking whether the ASM compiler is MSVC using "-?" matched "Microsoft":
  51. Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29335 for x64
  52. Copyright (C) Microsoft Corporation. All rights reserved.
  53.  
  54. C/C++ COMPILER OPTIONS
  55.  
  56.  
  57. -OPTIMIZATION-
  58.  
  59. /O1 maximum optimizations (favor space) /O2 maximum optimizations (favor speed)
  60. /Ob<n> inline expansion (default n=0) /Od disable optimizations (default)
  61. /Og enable global optimization /Oi[-] enable intrinsic functions
  62. /Os favor code space /Ot favor code speed
  63. /Ox optimizations (favor speed)
  64. /favor:<blend|AMD64|INTEL64|ATOM> select processor to optimize for, one of:
  65. blend - a combination of optimizations for several different x64 processors
  66. AMD64 - 64-bit AMD processors
  67. INTEL64 - Intel(R)64 architecture processors
  68. ATOM - Intel(R) Atom(TM) processors
  69.  
  70. -CODE GENERATION-
  71.  
  72. /Gu[-] ensure distinct functions have distinct addresses
  73. /Gw[-] separate global variables for linker
  74. /GF enable read-only string pooling /Gm[-] enable minimal rebuild
  75. /Gy[-] separate functions for linker /GS[-] enable security checks
  76. /GR[-] enable C++ RTTI /GX[-] enable C++ EH (same as /EHsc)
  77. /guard:cf[-] enable CFG (control flow guard)
  78. /guard:ehcont[-] enable EH continuation metadata (CET)
  79. /EHs enable C++ EH (no SEH exceptions) /EHa enable C++ EH (w/ SEH exceptions)
  80. /EHc extern "C" defaults to nothrow
  81. /EHr always generate noexcept runtime termination checks
  82. /fp:<except[-]|fast|precise|strict> choose floating-point model:
  83. except[-] - consider floating-point exceptions when generating code
  84. fast - "fast" floating-point model; results are less predictable
  85. precise - "precise" floating-point model; results are predictable
  86. strict - "strict" floating-point model (implies /fp:except)
  87. /Qfast_transcendentals generate inline FP intrinsics even with /fp:except
  88. /Qspectre[-] enable mitigations for CVE 2017-5753
  89. /Qpar[-] enable parallel code generation
  90. /Qpar-report:1 auto-parallelizer diagnostic; indicate parallelized loops
  91. /Qpar-report:2 auto-parallelizer diagnostic; indicate loops not parallelized
  92. /Qvec-report:1 auto-vectorizer diagnostic; indicate vectorized loops
  93. /Qvec-report:2 auto-vectorizer diagnostic; indicate loops not vectorized
  94. /GL[-] enable link-time code generation
  95. /volatile:<iso|ms> choose volatile model:
  96. iso - Acquire/release semantics not guaranteed on volatile accesses
  97. ms - Acquire/release semantics guaranteed on volatile accesses
  98. /GA optimize for Windows Application /Ge force stack checking for all funcs
  99. /Gs[num] control stack checking calls /Gh enable _penter function call
  100. /GH enable _pexit function call /GT generate fiber-safe TLS accesses
  101. /RTC1 Enable fast checks (/RTCsu) /RTCc Convert to smaller type checks
  102. /RTCs Stack Frame runtime checking /RTCu Uninitialized local usage checks
  103. /clr[:option] compile for common language runtime, where option is:
  104. pure - produce IL-only output file (no native executable code)
  105. safe - produce IL-only verifiable output file
  106. netcore - produce assemblies targeting .NET Core runtime
  107. noAssembly - do not produce an assembly
  108. nostdlib - ignore the system .NET framework directory when searching for assemblies
  109. nostdimport - do not import any required assemblies implicitly
  110. initialAppDomain - enable initial AppDomain behavior of Visual C++ 2002
  111. /homeparams Force parameters passed in registers to be written to the stack
  112. /GZ Enable stack checks (/RTCs) /Gv __vectorcall calling convention
  113. /arch:<AVX|AVX2|AVX512> minimum CPU architecture requirements, one of:
  114. AVX - enable use of instructions available with AVX-enabled CPUs
  115. AVX2 - enable use of instructions available with AVX2-enabled CPUs
  116. AVX512 - enable use of instructions available with AVX-512-enabled CPUs
  117. /QIntel-jcc-erratum enable mitigations for Intel JCC erratum
  118. /Qspectre-load Enable spectre mitigations for all instructions which load memory
  119. /Qspectre-load-cf Enable spectre mitigations for all control-flow instructions which load memory
  120.  
  121. -OUTPUT FILES-
  122.  
  123. /Fa[file] name assembly listing file /FA[scu] configure assembly listing
  124. /Fd[file] name .PDB file /Fe<file> name executable file
  125. /Fm[file] name map file /Fo<file> name object file
  126. /Fp<file> name precompiled header file /Fr[file] name source browser file
  127. /FR[file] name extended .SBR file /Fi[file] name preprocessed file
  128. /Fd: <file> name .PDB file /Fe: <file> name executable file
  129. /Fm: <file> name map file /Fo: <file> name object file
  130. /Fp: <file> name .PCH file /FR: <file> name extended .SBR file
  131. /Fi: <file> name preprocessed file
  132. /Ft<dir> location of the header files generated for #import
  133. /doc[file] process XML documentation comments and optionally name the .xdc file
  134.  
  135. -PREPROCESSOR-
  136.  
  137. /AI<dir> add to assembly search path /FU<file> forced using assembly/module
  138. /C don't strip comments /D<name>{=|#}<text> define macro
  139. /E preprocess to stdout /EP preprocess to stdout, no #line
  140. /P preprocess to file /Fx merge injected code to file
  141. /FI<file> name forced include file /U<name> remove predefined macro
  142. /u remove all predefined macros /I<dir> add to include search path
  143. /X ignore "standard places"
  144. /PH generate #pragma file_hash when preprocessing
  145. /PD print all macro definitions
  146.  
  147. -LANGUAGE-
  148.  
  149. /std:<c++14|c++17|c++latest> C++ standard version
  150. c++14 - ISO/IEC 14882:2014 (default)
  151. c++17 - ISO/IEC 14882:2017
  152. c++latest - latest draft standard (feature set subject to change)
  153. /permissive[-] enable some nonconforming code to compile (feature set subject to change) (on by default)
  154. /Ze enable extensions (default) /Za disable extensions
  155. /ZW enable WinRT language extensions /Zs syntax check only
  156. /Zc:arg1[,arg2] C++ language conformance, where arguments can be:
  157. forScope[-] enforce Standard C++ for scoping rules
  158. wchar_t[-] wchar_t is the native type, not a typedef
  159. auto[-] enforce the new Standard C++ meaning for auto
  160. trigraphs[-] enable trigraphs (off by default)
  161. rvalueCast[-] enforce Standard C++ explicit type conversion rules
  162. strictStrings[-] disable string-literal to [char|wchar_t]*
  163. conversion (off by default)
  164. implicitNoexcept[-] enable implicit noexcept on required functions
  165. threadSafeInit[-] enable thread-safe local static initialization
  166. inline[-] remove unreferenced function or data if it is
  167. COMDAT or has internal linkage only (off by default)
  168. sizedDealloc[-] enable C++14 global sized deallocation
  169. functions (on by default)
  170. throwingNew[-] assume operator new throws on failure (off by default)
  171. referenceBinding[-] a temporary will not bind to an non-const
  172. lvalue reference (off by default)
  173. twoPhase- disable two-phase name lookup
  174. ternary[-] enforce C++11 rules for conditional operator (off by default)
  175. noexceptTypes[-] enforce C++17 noexcept rules (on by default in C++17 or later)
  176. alignedNew[-] enable C++17 alignment of dynamically allocated objects (on by default)
  177. hiddenFriend[-] enforce Standard C++ hidden friend rules (implied by /permissive-)
  178. externC[-] enforce Standard C++ rules for 'extern "C"' functions (implied by /permissive-)
  179. lambda[-] better lambda support by using the newer lambda processor (off by default)
  180. tlsGuards[-] generate runtime checks for TLS variable initialization (on by default)
  181. /await enable resumable functions extension
  182. /constexpr:depth<N> recursion depth limit for constexpr evaluation (default: 512)
  183. /constexpr:backtrace<N> show N constexpr evaluations in diagnostics (default: 10)
  184. /constexpr:steps<N> terminate constexpr evaluation after N steps (default: 100000)
  185. /Zi enable debugging information /Z7 enable old-style debug info
  186. /Zo[-] generate richer debugging information for optimized code (on by default)
  187. /ZH:[MD5|SHA1|SHA_256] hash algorithm for calculation of file checksum in debug info (default: MD5)
  188. /Zp[n] pack structs on n-byte boundary /Zl omit default library name in .OBJ
  189. /vd{0|1|2} disable/enable vtordisp /vm<x> type of pointers to members
  190. /std:<c11|c17> C standard version
  191. c11 - ISO/IEC 9899:2011
  192. c17 - ISO/IEC 9899:2018
  193. /ZI enable Edit and Continue debug info
  194. /openmp enable OpenMP 2.0 language extensions
  195. /openmp:experimental enable OpenMP 2.0 language extensions plus select OpenMP 3.0+ language extensions
  196.  
  197. -MISCELLANEOUS-
  198.  
  199. @<file> options response file /?, /help print this help message
  200. /bigobj generate extended object format /c compile only, no link
  201. /errorReport:option deprecated. Report internal compiler errors to Microsoft
  202. none - do not send report
  203. prompt - prompt to immediately send report
  204. queue - at next admin logon, prompt to send report (default)
  205. send - send report automatically
  206. /FC use full pathnames in diagnostics /H<num> max external name length
  207. /J default char type is unsigned
  208. /MP[n] use up to 'n' processes for compilation
  209. /nologo suppress copyright message /showIncludes show include file names
  210. /Tc<source file> compile file as .c /Tp<source file> compile file as .cpp
  211. /TC compile all files as .c /TP compile all files as .cpp
  212. /V<string> set version string /Yc[file] create .PCH file
  213. /Yd put debug info in every .OBJ /Yl[sym] inject .PCH ref for debug lib
  214. /Yu[file] use .PCH file /Y- disable all PCH options
  215. /Zm<n> max memory alloc (% of default) /FS force to use MSPDBSRV.EXE
  216. /source-charset:<iana-name>|.nnnn set source character set
  217. /execution-charset:<iana-name>|.nnnn set execution character set
  218. /utf-8 set source and execution character set to UTF-8
  219. /validate-charset[-] validate UTF-8 files for only legal characters
  220. /fastfail[-] enable fast-fail mode /JMC[-] enable native just my code
  221. /presetPadding[-] zero initialize padding for stack based class types
  222.  
  223. -LINKING-
  224.  
  225. /LD Create .DLL /LDd Create .DLL debug library
  226. /LN Create a .netmodule /F<num> set stack size
  227. /link [linker options and libraries] /MD link with MSVCRT.LIB
  228. /MT link with LIBCMT.LIB /MDd link with MSVCRTD.LIB debug lib
  229. /MTd link with LIBCMTD.LIB debug lib
  230.  
  231. -CODE ANALYSIS-
  232.  
  233. /analyze[-] Enable native analysis /analyze:quiet[-] No warning to console
  234. /analyze:log<name> Warnings to file /analyze:autolog Log to *.pftlog
  235. /analyze:autolog:ext<ext> Log to *.<ext>/analyze:autolog- No log file
  236. /analyze:WX- Warnings not fatal /analyze:stacksize<num> Max stack frame
  237. /analyze:max_paths<num> Max paths /analyze:only Analyze, no code gen
  238.  
  239. -DIAGNOSTICS-
  240.  
  241. /diagnostics:<args,...> controls the format of diagnostic messages:
  242. classic - retains prior format
  243. column[-] - prints column information
  244. caret[-] - prints column and the indicated line of source
  245. /Wall enable all warnings /w disable all warnings
  246. /W<n> set warning level (default n=1)
  247. /Wv:xx[.yy[.zzzzz]] disable warnings introduced after version xx.yy.zzzzz
  248. /WX treat warnings as errors /WL enable one line diagnostics
  249. /wd<n> disable warning n /we<n> treat warning n as an error
  250. /wo<n> issue warning n once /w<l><n> set warning level 1-4 for n
  251. /external:I <path> - location of external headers
  252. /external:env:<var> - environment variable with locations of external headers
  253. /external:anglebrackets - treat all headers included via <> as external
  254. /external:W<n> - warning level for external headers
  255. /external:templates[-] - evaluate warning level across template instantiation chain
  256. /sdl enable additional security features and warnings
  257.  
  258. Detecting CXX compiler ABI info compiled with the following output:
  259. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  260.  
  261. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_8ecbe && [1/2] Building CXX object CMakeFiles\cmTC_8ecbe.dir\CMakeCXXCompilerABI.cpp.obj
  262.  
  263. [2/2] Linking CXX executable cmTC_8ecbe.exe
  264.  
  265.  
  266.  
  267.  
  268. Detecting C compiler ABI info compiled with the following output:
  269. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  270.  
  271. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_abd99 && [1/2] Building C object CMakeFiles\cmTC_abd99.dir\CMakeCCompilerABI.c.obj
  272.  
  273. [2/2] Linking C executable cmTC_abd99.exe
  274.  
  275.  
  276.  
  277.  
  278. Performing C++ SOURCE FILE Test HAVE_cxx14 succeeded with the following output:
  279. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  280.  
  281. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_180ec && [1/2] Building CXX object CMakeFiles\cmTC_180ec.dir\src.cxx.obj
  282.  
  283. [2/2] Linking CXX executable cmTC_180ec.exe
  284.  
  285.  
  286.  
  287. Source file was:
  288. #if __cplusplus > 201103L
  289. // Compiler claims to support C++14, trust it
  290. #else
  291. # error __cplusplus must be > 201103L (the value of C++11)
  292. #endif
  293.  
  294.  
  295. int main(int argc, char **argv)
  296. {
  297. (void)argc; (void)argv;
  298. /* BEGIN TEST: */
  299.  
  300. /* END TEST: */
  301. return 0;
  302. }
  303.  
  304. Performing C++ SOURCE FILE Test HAVE_cxx17 succeeded with the following output:
  305. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  306.  
  307. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_d2da2 && [1/2] Building CXX object CMakeFiles\cmTC_d2da2.dir\src.cxx.obj
  308.  
  309. [2/2] Linking CXX executable cmTC_d2da2.exe
  310.  
  311.  
  312.  
  313. Source file was:
  314. #if __cplusplus > 201402L
  315. // Compiler claims to support C++17, trust it
  316. #else
  317. # error __cplusplus must be > 201402L (the value for C++14)
  318. #endif
  319. #include <map> // https://bugs.llvm.org//show_bug.cgi?id=33117
  320. #include <variant>
  321.  
  322.  
  323. int main(int argc, char **argv)
  324. {
  325. (void)argc; (void)argv;
  326. /* BEGIN TEST: */
  327. std::variant<int> v(42);
  328. int i = std::get<int>(v);
  329. std::visit([](const auto &) { return 1; }, v);
  330. /* END TEST: */
  331. return 0;
  332. }
  333.  
  334. Performing C++ SOURCE FILE Test HAVE_cxx2a succeeded with the following output:
  335. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  336.  
  337. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_11fc3 && [1/2] Building CXX object CMakeFiles\cmTC_11fc3.dir\src.cxx.obj
  338.  
  339. [2/2] Linking CXX executable cmTC_11fc3.exe
  340.  
  341.  
  342.  
  343. Source file was:
  344. #if __cplusplus > 201703L
  345. // Compiler claims to support experimental C++2a, trust it
  346. #else
  347. # error __cplusplus must be > 201703L (the value for C++17)
  348. #endif
  349.  
  350.  
  351. int main(int argc, char **argv)
  352. {
  353. (void)argc; (void)argv;
  354. /* BEGIN TEST: */
  355.  
  356. /* END TEST: */
  357. return 0;
  358. }
  359.  
  360. Performing C++ SOURCE FILE Test TEST_enable_new_dtags succeeded with the following output:
  361. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  362.  
  363. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_60b63 && [1/2] Building CXX object CMakeFiles\cmTC_60b63.dir\src.cxx.obj
  364.  
  365. [2/2] Linking CXX executable cmTC_60b63.exe
  366.  
  367. LINK : warning LNK4044: unrecognized option '/Wl,--enable-new-dtags'; ignored
  368.  
  369. LINK : warning LNK4044: unrecognized option '/Wl,--enable-new-dtags'; ignored
  370.  
  371. LINK : warning LNK4044: unrecognized option '/Wl,--enable-new-dtags'; ignored
  372.  
  373.  
  374.  
  375. Source file was:
  376. int main() { return 0; }
  377. Performing C++ SOURCE FILE Test TEST_gdb_index succeeded with the following output:
  378. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  379.  
  380. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_afdd8 && [1/2] Building CXX object CMakeFiles\cmTC_afdd8.dir\src.cxx.obj
  381.  
  382. [2/2] Linking CXX executable cmTC_afdd8.exe
  383.  
  384. LINK : warning LNK4044: unrecognized option '/Wl,--gdb-index'; ignored
  385.  
  386. LINK : warning LNK4044: unrecognized option '/Wl,--gdb-index'; ignored
  387.  
  388. LINK : warning LNK4044: unrecognized option '/Wl,--gdb-index'; ignored
  389.  
  390.  
  391.  
  392. Source file was:
  393. int main() { return 0; }
  394. Performing C++ SOURCE FILE Test HAVE_signaling_nan succeeded with the following output:
  395. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  396.  
  397. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_64e34 && [1/2] Building CXX object CMakeFiles\cmTC_64e34.dir\src.cxx.obj
  398.  
  399. [2/2] Linking CXX executable cmTC_64e34.exe
  400.  
  401.  
  402.  
  403. Source file was:
  404. #include <limits>
  405.  
  406.  
  407. int main(int argc, char **argv)
  408. {
  409. (void)argc; (void)argv;
  410. /* BEGIN TEST: */
  411. using B = std::numeric_limits<double>;
  412. static_assert(B::has_signaling_NaN, "System lacks signaling NaN");
  413. /* END TEST: */
  414. return 0;
  415. }
  416.  
  417. Performing C++ SOURCE FILE Test HAVE_alloca_malloc_h succeeded with the following output:
  418. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  419.  
  420. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_7b298 && [1/2] Building CXX object CMakeFiles\cmTC_7b298.dir\src.cxx.obj
  421.  
  422. [2/2] Linking CXX executable cmTC_7b298.exe
  423.  
  424.  
  425.  
  426. Source file was:
  427.  
  428. #include <malloc.h>
  429.  
  430. int main(int argc, char **argv)
  431. {
  432. (void)argc; (void)argv;
  433. /* BEGIN TEST: */
  434. alloca(1);
  435. /* END TEST: */
  436. return 0;
  437. }
  438.  
  439. Performing C++ SOURCE FILE Test HAVE_stack_protector succeeded with the following output:
  440. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  441.  
  442. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_c2efe && [1/2] Building CXX object CMakeFiles\cmTC_c2efe.dir\src.cxx.obj
  443.  
  444. cl : Command line warning D9002 : ignoring unknown option '-fstack-protector-strong'
  445. [2/2] Linking CXX executable cmTC_c2efe.exe
  446.  
  447.  
  448.  
  449. Source file was:
  450. #ifdef __QNXNTO__
  451. # include <sys/neutrino.h>
  452. # if _NTO_VERSION < 700
  453. # error stack-protector not used (by default) before QNX 7.0.0.
  454. # endif
  455. #endif
  456.  
  457.  
  458. int main(int argc, char **argv)
  459. {
  460. (void)argc; (void)argv;
  461. /* BEGIN TEST: */
  462.  
  463. /* END TEST: */
  464. return 0;
  465. }
  466.  
  467. Performing C++ SOURCE FILE Test HAVE_STDATOMIC succeeded with the following output:
  468. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  469.  
  470. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_2540e && [1/2] Building CXX object CMakeFiles\cmTC_2540e.dir\src.cxx.obj
  471.  
  472. src.cxx(17): warning C4312: 'type cast': conversion from 'unsigned int' to 'void *' of greater size
  473. [2/2] Linking CXX executable cmTC_2540e.exe
  474.  
  475.  
  476.  
  477. Source file was:
  478. #include <atomic>
  479. #include <cstdint>
  480.  
  481. void test(volatile std::atomic<std::int64_t> &a)
  482. {
  483. std::int64_t v = a.load(std::memory_order_acquire);
  484. while (!a.compare_exchange_strong(v, v + 1,
  485. std::memory_order_acq_rel,
  486. std::memory_order_acquire)) {
  487. v = a.exchange(v - 1);
  488. }
  489. a.store(v + 1, std::memory_order_release);
  490. }
  491.  
  492. int main(int, char **)
  493. {
  494. void *ptr = (void*)0xffffffc0; // any random pointer
  495. test(*reinterpret_cast<std::atomic<std::int64_t> *>(ptr));
  496. return 0;
  497. }
  498. Performing C++ SOURCE FILE Test HAVE_atomicfptr succeeded with the following output:
  499. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  500.  
  501. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_76b96 && [1/2] Building CXX object CMakeFiles\cmTC_76b96.dir\src.cxx.obj
  502.  
  503. [2/2] Linking CXX executable cmTC_76b96.exe
  504.  
  505.  
  506.  
  507. Source file was:
  508.  
  509. #include <atomic>
  510. typedef void (*fptr)(int);
  511. typedef std::atomic<fptr> atomicfptr;
  512. void testfunction(int) { }
  513. void test(volatile atomicfptr &a)
  514. {
  515. fptr v = a.load(std::memory_order_acquire);
  516. while (!a.compare_exchange_strong(v, &testfunction,
  517. std::memory_order_acq_rel,
  518. std::memory_order_acquire)) {
  519. v = a.exchange(&testfunction);
  520. }
  521. a.store(&testfunction, std::memory_order_release);
  522. }
  523. int main(int argc, char **argv)
  524. {
  525. (void)argc; (void)argv;
  526. /* BEGIN TEST: */
  527. atomicfptr fptr(testfunction);
  528. test(fptr);
  529. /* END TEST: */
  530. return 0;
  531. }
  532.  
  533. Performing C++ SOURCE FILE Test HAVE_cxx11_future succeeded with the following output:
  534. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  535.  
  536. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_3b8d9 && [1/2] Building CXX object CMakeFiles\cmTC_3b8d9.dir\src.cxx.obj
  537.  
  538. [2/2] Linking CXX executable cmTC_3b8d9.exe
  539.  
  540.  
  541.  
  542. Source file was:
  543.  
  544. #include <future>
  545.  
  546. int main(int argc, char **argv)
  547. {
  548. (void)argc; (void)argv;
  549. /* BEGIN TEST: */
  550. std::future<int> f = std::async([]() { return 42; });
  551. (void)f.get();
  552. /* END TEST: */
  553. return 0;
  554. }
  555.  
  556. Performing C++ SOURCE FILE Test HAVE_cxx11_random succeeded with the following output:
  557. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  558.  
  559. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_62b3a && [1/2] Building CXX object CMakeFiles\cmTC_62b3a.dir\src.cxx.obj
  560.  
  561. [2/2] Linking CXX executable cmTC_62b3a.exe
  562.  
  563.  
  564.  
  565. Source file was:
  566.  
  567. #include <random>
  568.  
  569. int main(int argc, char **argv)
  570. {
  571. (void)argc; (void)argv;
  572. /* BEGIN TEST: */
  573. std::mt19937 mt(0);
  574. /* END TEST: */
  575. return 0;
  576. }
  577.  
  578. Performing C++ SOURCE FILE Test HAVE_cxx17_filesystem succeeded with the following output:
  579. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  580.  
  581. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_57e6a && [1/2] Building CXX object CMakeFiles\cmTC_57e6a.dir\src.cxx.obj
  582.  
  583. [2/2] Linking CXX executable cmTC_57e6a.exe
  584.  
  585.  
  586.  
  587. Source file was:
  588.  
  589. #include <filesystem>
  590.  
  591. int main(int argc, char **argv)
  592. {
  593. (void)argc; (void)argv;
  594. /* BEGIN TEST: */
  595. std::filesystem::copy(
  596. std::filesystem::path("./file"),
  597. std::filesystem::path("./other"));
  598. /* END TEST: */
  599. return 0;
  600. }
  601.  
  602. Performing C++ SOURCE FILE Test HAVE_netlistmgr succeeded with the following output:
  603. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  604.  
  605. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_f702f && [1/2] Building CXX object CMakeFiles\cmTC_f702f.dir\src.cxx.obj
  606.  
  607. [2/2] Linking CXX executable cmTC_f702f.exe
  608.  
  609.  
  610.  
  611. Source file was:
  612.  
  613. #include <netlistmgr.h>
  614. #include <wrl/client.h>
  615.  
  616. int main(int argc, char **argv)
  617. {
  618. (void)argc; (void)argv;
  619. /* BEGIN TEST: */
  620. using namespace Microsoft::WRL;
  621. ComPtr<INetworkListManager> networkListManager;
  622. ComPtr<IConnectionPoint> connectionPoint;
  623. ComPtr<IConnectionPointContainer> connectionPointContainer;
  624. networkListManager.As(&connectionPointContainer);
  625. connectionPointContainer->FindConnectionPoint(IID_INetworkConnectionEvents, &connectionPoint);
  626. /* END TEST: */
  627. return 0;
  628. }
  629.  
  630. Performing C++ SOURCE FILE Test HAVE_directwrite succeeded with the following output:
  631. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  632.  
  633. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_74471 && [1/2] Building CXX object CMakeFiles\cmTC_74471.dir\src.cxx.obj
  634.  
  635. [2/2] Linking CXX executable cmTC_74471.exe
  636.  
  637.  
  638.  
  639. Source file was:
  640. #include <dwrite_2.h>
  641. int main(int, char **)
  642. {
  643. IUnknown *factory = nullptr;
  644. DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory2),
  645. &factory);
  646. return 0;
  647. }
  648.  
  649. Performing C++ SOURCE FILE Test HAVE_directwrite3 succeeded with the following output:
  650. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  651.  
  652. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_3b350 && [1/2] Building CXX object CMakeFiles\cmTC_3b350.dir\src.cxx.obj
  653.  
  654. [2/2] Linking CXX executable cmTC_3b350.exe
  655.  
  656.  
  657.  
  658. Source file was:
  659. #include <dwrite_3.h>
  660. int main(int, char **)
  661. {
  662. IUnknown *factory = nullptr;
  663. DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory3),
  664. &factory);
  665. return 0;
  666. }
  667.  
  668. Performing C++ SOURCE FILE Test HAVE_d2d1 succeeded with the following output:
  669. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  670.  
  671. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_271db && [1/2] Building CXX object CMakeFiles\cmTC_271db.dir\src.cxx.obj
  672.  
  673. [2/2] Linking CXX executable cmTC_271db.exe
  674.  
  675.  
  676.  
  677. Source file was:
  678. #include <d2d1.h>
  679. int main(int, char **)
  680. {
  681. void *factory = nullptr;
  682. D2D1_FACTORY_OPTIONS options;
  683. ZeroMemory(&options, sizeof(D2D1_FACTORY_OPTIONS));
  684. D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, GUID{}, &options, &factory);
  685. return 0;
  686. }
  687.  
  688. Performing C++ SOURCE FILE Test HAVE_d2d1_1 succeeded with the following output:
  689. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  690.  
  691. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_6d928 && [1/2] Building CXX object CMakeFiles\cmTC_6d928.dir\src.cxx.obj
  692.  
  693. [2/2] Linking CXX executable cmTC_6d928.exe
  694.  
  695.  
  696.  
  697. Source file was:
  698. #include <d2d1_1.h>
  699. int main(int, char **)
  700. {
  701. ID2D1Factory1 *d2dFactory;
  702. D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &d2dFactory);
  703. return 0;
  704. }
  705.  
  706. Performing C++ SOURCE FILE Test HAVE_cxx14_make_unique succeeded with the following output:
  707. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  708.  
  709. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_2c94c && [1/2] Building CXX object CMakeFiles\cmTC_2c94c.dir\src.cxx.obj
  710.  
  711. [2/2] Linking CXX executable cmTC_2c94c.exe
  712.  
  713.  
  714.  
  715. Source file was:
  716.  
  717. #include <memory>
  718.  
  719. int main(int argc, char **argv)
  720. {
  721. (void)argc; (void)argv;
  722. /* BEGIN TEST: */
  723. std::unique_ptr<int> ptr = std::make_unique<int>();
  724. /* END TEST: */
  725. return 0;
  726. }
  727.  
  728. Performing C++ SOURCE FILE Test HAVE_pointer_64bit succeeded with the following output:
  729. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  730.  
  731. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_35dac && [1/2] Building CXX object CMakeFiles\cmTC_35dac.dir\src.cxx.obj
  732.  
  733. [2/2] Linking CXX executable cmTC_35dac.exe
  734.  
  735.  
  736.  
  737. Source file was:
  738.  
  739.  
  740.  
  741. int main(int argc, char **argv)
  742. {
  743. (void)argc; (void)argv;
  744. /* BEGIN TEST: */
  745. static_assert(sizeof(void *) == 8, "fail");
  746. /* END TEST: */
  747. return 0;
  748. }
  749.  
  750. Performing C++ SOURCE FILE Test HAVE_arm_fp succeeded with the following output:
  751. Change Dir: C:/Q/CMakeFiles/CMakeTmp
  752.  
  753. Run Build Command(s):C:/ENGINE~1/DEVELO~1/VISUAL~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe cmTC_d2b9e && [1/2] Building CXX object CMakeFiles\cmTC_d2b9e.dir\src.cxx.obj
  754.  
  755. [2/2] Linking CXX executable cmTC_d2b9e.exe
  756.  
  757.  
  758.  
  759. Source file was:
  760.  
  761.  
  762.  
  763. int main(int argc, char **argv)
  764. {
  765. (void)argc; (void)argv;
  766. /* BEGIN TEST: */
  767. // if !defined(__ARM_FP) we might be on MSVC or we might have a device
  768. // without an FPU.
  769. // TODO: The latter case is not supported, but the test still succeeds.
  770. #if defined(__ARM_FP) && (__ARM_FP <= 0x04)
  771. # error "fail"
  772. #endif
  773. /* END TEST: */
  774. return 0;
  775. }
  776.  
  777.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement