mesonbuild / meson

The Meson Build System
http://mesonbuild.com
Apache License 2.0
5.65k stars 1.64k forks source link

External_project: `env:` does not work? #13895

Open H5117 opened 2 weeks ago

H5117 commented 2 weeks ago

Describe the bug I try to build an Autotools subproject with the external_project module and MSVC 2022. To make this work I need to pass the environment variable LD to the configure script, but the option env: of add_project() does not work for some reason.

To Reproduce minimal_example.zip

**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.9.7
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

D:\Program Files\Microsoft Visual Studio\2022\Community>cd D:\test

D:\test>set PATH=%PATH%;D:\msys64\usr\bin

D:\test>mkdir build

D:\test>D:\msys64\mingw64\bin\meson.exe setup build .
The Meson build system
Version: 1.6.0
Source dir: D:\test
Build dir: D:\test\build
Build type: native build
Project name: test
Project version: undefined
C compiler for the host machine: cl (msvc 19.39.33523 "��⨬������騩 ��������� Microsoft (R) C/C++ ���ᨨ 19.39.33523 ��� x64")
C linker for the host machine: link link 14.39.33523.0
Host machine cpu family: x86_64
Host machine cpu: x86_64

Executing subproject subproject1

subproject1| Project name: subproject1
subproject1| Project version: undefined
subproject1| C compiler for the host machine: cl (msvc 19.39.33523 "��⨬������騩 ��������� Microsoft (R) C/C++ ���ᨨ 19.39.33523 ��� x64")
subproject1| C linker for the host machine: link link 14.39.33523.0
subproject1| subprojects\subproject1\meson.build:3: WARNING: Module External build system has no backwards or forwards compatibility and might not exist in future releases.
subproject1| Program D:/test/subprojects/subproject1/configure found: YES (sh D:/test/subprojects/subproject1/configure)
subproject1| Program make found: YES (D:\msys64\usr\bin\make.EXE)
subproject1| Did not find pkg-config by name 'pkg-config'
subproject1| Found pkg-config: NO
subproject1| External project subproject1: configure
subproject1| Build targets in project: 1
subproject1| Subproject subproject1 finished.

Build targets in project: 1

test undefined

  Subprojects
    subproject1: YES 1 warnings

Found ninja-1.11.0 at "D:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.EXE"

D:\test>cat build\meson-logs\subproject1-configure.log
Running command ['sh', 'D:/test/subprojects/subproject1/configure', '--prefix=/', '--libdir=//lib'] in directory D:\test\build\subprojects\subproject1\build

The LD:
D:\test>

Expected behavior The environment variable LD is set to link.

system parameters

xclaesse commented 2 weeks ago

Works for me, added a unit test: https://github.com/mesonbuild/meson/pull/13896. Can you reproduce the issue with that test?

H5117 commented 2 weeks ago

The test does not work on Windows:

if host_machine.system() == 'windows'
  error('MESON_SKIP_TEST: The fake configure script is too dumb to work on Windows')
endif

But will try to remove this check.

xclaesse commented 2 weeks ago

@H5117 Note that the root issue you have is Meson should give the proper linker by default on Windows. There is even a FIXME about it: https://github.com/mesonbuild/meson/blob/master/mesonbuild/modules/external_project.py#L156. Improvements for Windows users is welcome :)

H5117 commented 2 weeks ago

Seems another issue should be fixed first.

Tests ('230 external project/meson.build' is patched manually after checkout) ``` ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.9.7 ** Copyright (c) 2022 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' D:\Program Files\Microsoft Visual Studio\2022\Community>cd D:\ D:\>set PATH=%PATH%;D:\msys64\usr\bin D:\>D:\msys64\usr\bin\git.exe clone https://github.com/xclaesse/meson Cloning into 'meson'... remote: Enumerating objects: 109247, done. remote: Counting objects: 100% (16047/16047), done. remote: Compressing objects: 100% (746/746), done. remote: Total 109247 (delta 15632), reused 15364 (delta 15297), pack-reused 93200 (from 1) Receiving objects: 100% (109247/109247), 37.81 MiB | 631.00 KiB/s, done. Resolving deltas: 100% (78559/78559), done. Updating files: 100% (4113/4113), done. D:\>cd meson D:\meson>D:\msys64\usr\bin\git.exe checkout ep-env Updating files: 100% (2879/2879), done. branch 'ep-env' set up to track 'origin/ep-env'. Switched to a new branch 'ep-env' D:\meson>D:\msys64\usr\bin\git.exe status -vv On branch ep-env Your branch is up to date with 'origin/ep-env'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: test cases/common/230 external project/meson.build -------------------------------------------------- Changes not staged for commit: diff --git i/test cases/common/230 external project/meson.build w/test cases/common/230 external project/meson.build index d1ed797c4..386e52561 100644 --- i/test cases/common/230 external project/meson.build +++ w/test cases/common/230 external project/meson.build @@ -8,10 +8,6 @@ if not find_program('make', required : false).found() error('MESON_SKIP_TEST: make not found') endif -if host_machine.system() == 'windows' - error('MESON_SKIP_TEST: The fake configure script is too dumb to work on Windows') -endif - if meson.is_cross_build() # CI uses PKG_CONFIG_SYSROOT_DIR which breaks -uninstalled.pc usage. error('MESON_SKIP_TEST: Cross build support is too limited for this test') no changes added to commit (use "git add" and/or "git commit -a") D:\meson> D:\meson>python --version Python 3.13.0 D:\meson>python run_project_tests.py Meson build system 1.6.99 Project Tests Using python 3.13.0 (tags/v3.13.0:60403a5, Oct 7 2024, 09:38:07) [MSC v.1941 64 bit (AMD64)] ('C:\\Program Files\\Python313\\python.exe') VSCMD version 17.9.7 host machine compilers c : [msvc] cl (msvc 19.39.33523 "��⨬������騩 ��������� Microsoft (R) C/C++ ���ᨨ 19.39.33523 ��� x64") cpp : [msvc] cl (msvc 19.39.33523 "��⨬������騩 ��������� Microsoft (R) C/C++ ���ᨨ 19.39.33523 ��� x64") cs : [csc] csc (csc 4.9.0-3) cuda : [not found] cython : [not found] d : [not found] fortran: [not found] java : [not found] masm : [ml] ml64 (ml 14.39.33523.0) nasm : [not found] objc : [not found] objcpp : [not found] rust : [not found] swift : [not found] vala : [not found] tools ninja : D:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.EXE (1.11.0) cmake : D:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.EXE (3.28.0-msvc1) hotdoc : not found Checking that configuring works... Checking that introspect works... Checking that building works... Checking that testing works... Running tests with 8 workers Running cmake tests. [SKIPPED] (without install) cmake: 2 advanced Reason: zlib is not installed [SKIPPED] (without install) cmake: 5 object library Reason: zlib is not installed [SKIPPED] (without install) cmake: 13 system includes Reason: Skip with msvc due to missing -system support [SKIPPED] (without install) cmake: 14 fortran threads Reason: Fortran language not available. [SKIPPED] (without install) cmake: 19 advanced options Reason: MSVC is not supported because it does not support C++11 [SKIPPED] (without install) cmake: 24 mixing languages Reason: No ObjC compiler [SKIPPED] (without install) cmake: 25 assembler Reason: Unsupported Assembler Platform Running common tests. [SKIPPED] (without install) common: 44 pkgconfig-gen Reason: zlib missing [SKIPPED] (without install) common: 114 skip Reason: this test is always skipped. [SKIPPED] (without install) common: 122 no buildincdir Reason: compiler does not support bad inc dir argument. [SKIPPED] (without install) common: 126 generated llvm ir Reason: LLVM IR files can only be built with clang [SKIPPED] (without install) common: 127 generated assembly Reason: assembly files cannot be compiled directly by the compiler [SKIPPED] (without install) common: 133 c cpp and asm Reason: MSVC can't compile assembly [SKIPPED] (without install) common: 156 config tool variable Reason: LLVM not installed. [SKIPPED] (without install) common: 190 install_mode Reason: install_mode test requires a Unix-like OS [SKIPPED] (without install) common: 203 find_library and headers Reason: zlib not found. [SKIPPED] (without install) common: 219 include_type dependency Reason: zlib was not found [SKIPPED] (without install) common: 221 zlib Reason: Cannot seem to find zlib via find_library, this test will probably fail. [ERROR] (without install) common: 230 external project During: configure Reason: Generating the build system failed. [SKIPPED] (without install) common: 240 dependency native host == build Reason: Test requires zlib [SKIPPED] (without install) common: 250 system include dir Reason: compiler msvc either doesn't support is_system includes or needs to have support for this test added [SKIPPED] (without install) common: 251 add_project_dependencies Reason: zlib not present [SKIPPED] (without install) common: 268 install functions and follow symlinks Reason: symlinks (typically) do not work on Windows. [SKIPPED] (without install) common: 272 unity Reason: unity builds not enabled Running native tests. Running warning-meson tests. Running failing-meson tests. [SKIPPED] (without install) failing: 19 target clash Reason: test only works on platforms where executables have no suffix. [SKIPPED] (without install) failing: 32 exe static shared Reason: test only fails on Linux and BSD [SKIPPED] (without install) failing: 36 pkgconfig dependency impossible conditions Reason: test requires zlib [SKIPPED] (without install) failing: 41 custom target outputs not matching install_dirs Reason: test is only for the ninja backend [SKIPPED] (without install) failing: 63 wrong boost module Reason: test requires boost [SKIPPED] (without install) failing: 71 link with shared module on osx Reason: test only fails on OSX [SKIPPED] (without install) failing: 75 framework dependency with version Reason: test only applicable on darwin [SKIPPED] (without install) failing: 79 gtest dependency with version Reason: test requires gtest [SKIPPED] (without install) failing: 80 dub library Reason: test requires D compiler [SKIPPED] (without install) failing: 81 dub executable Reason: test requires D compiler [SKIPPED] (without install) failing: 82 dub compiler (warning_level=1) Reason: test requires D compiler [SKIPPED] (without install) failing: 93 no native compiler Reason: test only applicable when cross building. [SKIPPED] (without install) failing: 111 nonsensical bindgen Reason: test requires rust compiler [SKIPPED] (without install) failing: 116 structured source empty string Reason: Rust is required but not found. [SKIPPED] (without install) failing: 117 structured_sources conflicts Reason: Rust is required but not found. [SKIPPED] (without install) failing: 126 generator host binary Reason: test requires that build machine cannot run host binaries Running failing-build tests. [SKIPPED] (without install) failing build: 1 hidden symbol Reason: -fvisibility=hidden does not work for PE files. [SKIPPED] (without install) failing build: 7 csharp werror Reason: C# requires Ninja backend [SKIPPED] (without install) failing build: 8 fortran werror Reason: Fortran not found [SKIPPED] (without install) failing build: 9 java werror Reason: Java requires Ninja backend [SKIPPED] (without install) failing build: 10 nasm werror Reason: VS backend does not recognise NASM yet [SKIPPED] (without install) failing build: 11 objc werror Reason: Objective C not found [SKIPPED] (without install) failing build: 12 objcpp werror Reason: Objective C++ not found [SKIPPED] (without install) failing build: 13 rust werror Reason: Rust requires Ninja backend [SKIPPED] (without install) failing build: 14 swift werror Reason: Swift not found Running failing-test tests. [SKIPPED] (without install) failing test: 2 signal Reason: test is not compatible with MS Windows. [SKIPPED] (without install) failing test: 3 ambiguous Reason: test is not compatible with MS Windows. Running keyval tests. Not running platform-osx tests. Running platform-windows tests. [SKIPPED] (without install) windows: 19 msvc cplusplus define Reason: test is only relevant for msvc versions >= 15.7 [SKIPPED] (without install) windows: 21 masm Reason: masm is not supported by vs backend Not running platform-linux tests. Not running java tests. Not running C# tests. Not running vala tests. Not running cython tests. Not running rust tests. Not running d tests. Not running objective c tests. Not running objective c++ tests. Not running fortran tests. Not running swift tests. Not running cuda tests. Not running python3 tests. Running python tests. [SKIPPED] (without install) python: 2 extmodule Reason: Ninja backend required [SKIPPED] (without install) python: 3 cython Reason: Ninja backend required [SKIPPED] (without install) python: 4 custom target depends extmodule Reason: Ninja backend required [SKIPPED] (without install) python: 8 different python versions (python=pypy) Reason: Python not found, skipping test. [SKIPPED] (without install) python: 8 different python versions (python=pypy3) Reason: Python not found, skipping test. [SKIPPED] (without install) python: 8 different python versions (python=python2) Reason: Python not found, skipping test. Not running fpga tests. Running frameworks tests. [SKIPPED] (without install) frameworks: 1 boost (static=false) Reason: boost not found. [SKIPPED] (without install) frameworks: 1 boost (static=false b_vscrt=md) Reason: boost not found. [SKIPPED] (without install) frameworks: 1 boost (static=false b_vscrt=mdd) Reason: boost not found. [SKIPPED] (without install) frameworks: 1 boost (static=true) Reason: boost not found. [SKIPPED] (without install) frameworks: 1 boost (static=true b_vscrt=md) Reason: boost not found. [SKIPPED] (without install) frameworks: 1 boost (static=true b_vscrt=mdd) Reason: boost not found. [SKIPPED] (without install) frameworks: 1 boost (static=true b_vscrt=mt) Reason: boost not found. [SKIPPED] (without install) frameworks: 1 boost (static=true b_vscrt=mtd) Reason: boost not found. [SKIPPED] (without install) frameworks: 2 gtest Reason: gtest not installed. [SKIPPED] (without install) frameworks: 3 gmock Reason: gtest not installed. [SKIPPED] (without install) frameworks: 4 qt (method=config-tool) Reason: qt5 not found. [SKIPPED] (without install) frameworks: 4 qt (method=pkg-config) Reason: qt5 not found. [SKIPPED] (without install) frameworks: 4 qt (method=qmake) Reason: qt5 not found. [SKIPPED] (without install) frameworks: 5 protocol buffers Reason: protoc tool and/or protobuf pkg-config dependency not found [SKIPPED] (without install) frameworks: 6 gettext (static=false) Reason: libintl/gettext functions not found. [SKIPPED] (without install) frameworks: 6 gettext (static=true) Reason: libintl/gettext functions not found. [SKIPPED] (without install) frameworks: 7 gnome Reason: glib not found. [SKIPPED] (without install) frameworks: 8 flex Reason: flex not found. [SKIPPED] (without install) frameworks: 10 gtk-doc Reason: gtkdoc not found. [SKIPPED] (without install) frameworks: 11 gir subproject Reason: g-ir-scanner not found. [SKIPPED] (without install) frameworks: 12 multiple gir Reason: g-ir-scanner not found. [SKIPPED] (without install) frameworks: 13 yelp Reason: itstool not found. [SKIPPED] (without install) frameworks: 14 doxygen Reason: doxygen not found. [SKIPPED] (without install) frameworks: 15 llvm (method=cmake link-static=False) Reason: llvm not found. [SKIPPED] (without install) frameworks: 15 llvm (method=cmake link-static=True) Reason: llvm not found. [SKIPPED] (without install) frameworks: 15 llvm (method=combination link-static=False) Reason: llvm not found. [SKIPPED] (without install) frameworks: 15 llvm (method=combination link-static=True) Reason: llvm not found. [SKIPPED] (without install) frameworks: 15 llvm (method=config-tool link-static=False) Reason: llvm not found. [SKIPPED] (without install) frameworks: 15 llvm (method=config-tool link-static=True) Reason: llvm not found. [SKIPPED] (without install) frameworks: 16 sdl2 (method=auto) Reason: sdl2 not found. [SKIPPED] (without install) frameworks: 16 sdl2 (method=cmake) Reason: sdl2 not found. [SKIPPED] (without install) frameworks: 16 sdl2 (method=config-tool) Reason: sdl2 not found. [SKIPPED] (without install) frameworks: 16 sdl2 (method=extraframework) Reason: sdl2 not found. [SKIPPED] (without install) frameworks: 16 sdl2 (method=pkg-config) Reason: sdl2 not found. [SKIPPED] (without install) frameworks: 16 sdl2 (method=sdlconfig) Reason: sdl2 not found. [SKIPPED] (without install) frameworks: 17 mpi (method=auto) Reason: MPI not found, skipping. [SKIPPED] (without install) frameworks: 17 mpi (method=config-tool) Reason: MPI not found, skipping. [SKIPPED] (without install) frameworks: 17 mpi (method=pkg-config) Reason: MPI not found, skipping. [SKIPPED] (without install) frameworks: 17 mpi (method=system) Reason: MPI not found, skipping. [SKIPPED] (without install) frameworks: 18 vulkan Reason: vulkan not found. [SKIPPED] (without install) frameworks: 19 pcap Reason: pcap not found. [SKIPPED] (without install) frameworks: 20 cups Reason: cups not found. [SKIPPED] (without install) frameworks: 21 libwmf Reason: libwmf-config not installed [SKIPPED] (without install) frameworks: 22 gir link order Reason: glib not found. [SKIPPED] (without install) frameworks: 23 hotdoc Reason: not run because preconditions were not met [SKIPPED] (without install) frameworks: 24 libgcrypt Reason: libgcrypt-config not installed [SKIPPED] (without install) frameworks: 25 hdf5 (method=config-tool) Reason: HDF5 C library not found. [SKIPPED] (without install) frameworks: 25 hdf5 (method=pkg-config) Reason: HDF5 C library not found. [SKIPPED] (without install) frameworks: 26 netcdf Reason: NetCDF C library not found, skipping NetCDF framework tests. [SKIPPED] (without install) frameworks: 27 gpgme Reason: gpgme-config not installed [SKIPPED] (without install) frameworks: 28 gir link order 2 Reason: gobject not found. [SKIPPED] (without install) frameworks: 29 blocks Reason: Only clang on unix-like systems supports the blocks extension. [SKIPPED] (without install) frameworks: 30 scalapack Reason: MPI library not available [SKIPPED] (without install) frameworks: 31 curses (method=config-tool) Reason: Curses library not found [SKIPPED] (without install) frameworks: 31 curses (method=pkg-config) Reason: Curses library not found [SKIPPED] (without install) frameworks: 31 curses (method=system) Reason: Curses library not found [SKIPPED] (without install) frameworks: 34 gir static lib Reason: g-ir-scanner not found. [SKIPPED] (without install) frameworks: 35 boost symlinks Reason: Windows and symlinks do not mix. [SKIPPED] (without install) frameworks: 36 gtkdoc cpp Reason: gtkdoc not found. [SKIPPED] (without install) frameworks: 37 gir cpp Reason: gobject-introspection not found. Running nasm tests. [SKIPPED] (without install) nasm: 1 configure file Reason: this test asm is made for Linux [SKIPPED] (without install) nasm: 2 asm language Reason: this test asm is made for Linux [SKIPPED] (without install) nasm: 3 nasm only Reason: nasm not found [SKIPPED] (without install) nasm: 4 through configure Reason: nasm not found Not running wasm tests. Not running wayland tests. Running format tests. Total configuration time: 1244.27s Total build time: 3957.09s Total test time: 77.70s Mesonlogs of failing tests =================================================================================== common: 230 external project ==================================================================================== Failed during: configure Reason: Generating the build system failed. (inprocess) $ setup --prefix x:/usr --libdir lib "test cases/common/230 external project" "D:\meson\b 5dad6b1f72" --backend=vs Included file D:\meson\b 5dad6b1f72\meson-logs\meson-log.txt: Build started at 2024-11-12T18:14:53.891098 Main binary: C:\Program Files\Python313\python.exe Build Options: -Dprefix=x:/usr -Dlibdir=lib -Dbackend=vs Python system: Windows The Meson build system Version: 1.6.99 Source dir: D:\meson\test cases\common\230 external project Build dir: D:\meson\b 5dad6b1f72 Build type: native build Project name: test external project Project version: undefined ----------- Detecting compiler via: `icl ""` -> [WinError 2] Не удается найти указанный файл ----------- Detecting compiler via: `cl /?` -> 0 stdout: ��������� ����������� C/C++ -�����������- ���ᨬ��쭠� ��⨬����� /O1 (�ਮ��� ����) ���ᨬ��쭠� ��⨬����� /O2 (�ਮ��� ᪮���) /Ob ����⠭���� ���� (�� 㬮�砭�� n=0) /Od �⪫���� ��⨬���樨 (�� 㬮�砭��)/Og ������� ��������� ��⨬����� /Oi[-] ������� ����⠢�塞� �㭪樨 /Os �।����⥫쭮� ����࠭�⢮ ���� /Ot �।����⥫쭠� ᪮���� ���� ��⨬����� /Ox (�ਮ��� ᪮���) /favor: - ����� ������, ��� ���ண� ��⨬���஢���; ���� �� ��ਠ�⮢: blend - ��⠭�� ��⨬���権 ��� ��᪮�쪨� ࠧ��� �����஢ x64 AMD64 - 64-ࠧ�來� ������� AMD INTEL64 - ������� � ���⥪��ன Intel(R)64 ATOM - ������� Intel(R) Atom(TM) -������������ ����- /Gu[-] ��࠭����, �� � ࠧ��� �㭪権 ���� ࠧ�� ���� /Gw[-] ࠧ������ �������� ��६���� ��� ��������騪� /GF ������� ��ꥤ������ ��ப ⮫쪮 ��� �⥭�� /Gm[-] ������� ०�� ��������樨 �� ����஥��� /Gy[-] ࠧ������ �㭪樨 ��� ��������騪� /GS[-] ������� �஢��� ��⥬� ������᭮�� /GR[-] ������� C++ RTTI /GX[-] ������� C++ EH (� ��, �� � /EHsc) /guard:cf[-] ����砥� CFG (���� ��⮪� �ࠢ�����) /guard:ehcont[-]: ����祭�� ��⠤����� �த������� EH (CET) /EHs ������� C++ EH (��� �᪫�祭�� SEH) /EHa ������� C++ EH (� �᪫�祭�ﬨ SEH) /EHc ���譨� C ����砥� ���祭�� �� 㬮�砭�� nothrow /EHr �ᥣ�� ᮧ������ �஢�ન �����襭�� �६��� �믮������ noexcept /fp: �롮� ������ � ������饩 ����⮩: ᮪�饭�� - ��ᬮ��� ����������� �ᯮ�짮����� ᮪�饭�� � ������饩 ����⮩ �� ᮧ����� ���� except[-] - ����������� �ᯮ�짮����� �᪫�祭�� � ������饩 ����⮩ �� ᮧ����� ���� fast - "������" (fast) ������ � ������饩 ����⮩; १����� ����� �।᪠�㥬� precise - "�筠�" (precise) ������ � ������饩 ����⮩; १����� �।᪠�㥬� strict - "��ண��" (strict) ������ � ������饩 ����⮩ (��ࠦ��� /fp:except) /Qfast_transcendentals ᮧ����� ���஥���� ���ம�।������ FP ���� � /fp:except / Qspectre[-]�- ������� ��ࠢ����� CVE 2017-5753 /Qpar[-]�- ����祭�� ��ࠫ���쭮�� ᮧ����� ���� /Qpar-report:1�- �������⨪� ��⮬���᪮�� ��ࠫ��������; 㪠����� ��ࠫ������������ 横��� /Qpar-report:2�- �������⨪� ��⮬���᪮�� ��ࠫ��������; 㪠����� ����ࠫ������������ 横��� /Qvec-report:1�- �������⨪� ��⮬���᪮�� ����ਧ���; 㪠����� ����ਧ�஢����� 横��� /Qvec-report:2�- �������⨪� ��⮬���᪮�� ����ਧ���; 㪠����� ������ਧ������� 横��� /GL[-]�- ����祭�� ᮧ����� ���� �� �६� ���������� /volatile:�- �롮� ������ﭭ�� ������: iso�- ᥬ��⨪� ����祭�� � �᢮�������� �� ��࠭������ �� ������ﭭ�� ���饭�� ms�- ᥬ��⨪� ����祭�� � �᢮�������� ��࠭������ �� ������ﭭ�� ���饭�� /GA ��⨬���஢��� ��� �ਫ������ Windows /Ge �஢����� �⥪ ��� ��� �㭪権 /Gs[�᫮] ����஫�஢��� �맮�� �஢�ન �⥪� /Gh ������� �맮� �㭪樨 _penter /GH ������� �맮� �㭪樨 _pexit /GT ᮧ���� �������� �⭮�⥫쭮 ������� ������ � �����쭮�� �࠭����� ��⮪� (TLS) /RTC1 ������� ������� �஢��� (/RTCsu) /RTCc �८�ࠧ����� � ᮪�饭��� �஢�થ ⨯�� /RTCs �஢�ઠ ���஢ �⥪� �� �६� �믮������ /RTCu �����樠����஢����� �஢�ઠ �����쭮�� �ᯮ�짮����� /clr[:��ࠬ���] �������஢��� ��� ����몮��� �।� �믮������; ����� ��ࠬ��� - ��: pure: ᮧ���� ��室��� 䠩� ⮫쪮 IL (��� �ᯮ��塞��� ��設���� ����) safe: ᮧ���� �஢��塞� ��室��� 䠩� ⮫쪮 IL netcore: ᮧ������ ᡮન, �।�����祭�� ��� �।� �믮������ .NET Core noAssembly: �� ᮧ������ ᡮ�� nostdlib: �����஢��� ��⥬�� ��⠫�� .NET Framework �� ���᪥ ᡮப nostdimport: �� ������஢��� ����室��� ᡮન ��� ��ࠧ�� initialAppDomain: ������� ��室��� ��������� AppDomain �� Visual C++ 2002 implicitKeepAlive-: �⪫���� ��� �뢮� System::GC::KeepAlive(this) /fsanitize=address ������� codegen ��� ᠭ�⠩��� ���ᮢ /homeparams ���ᯥ��� ������ ��ࠬ��஢, ��।������� � ॣ�����, � �⥪ /GZ ������� �஢��� �⥪� (/RTCs) /Gv �ᯮ�짮���� ᮣ��襭�� � �맮��� __vectorcall /arch: ��������� �ॡ������ � ���⥪��� ��; ���� �� ��ਠ�⮢: AVX - ������� �ᯮ�짮����� ������権, ����㯭�� ��� �����஢, �����ন����� AVX AVX2 - ������� �ᯮ�짮����� ������権, ����㯭�� ��� �����஢, �����ন����� AVX2 AVX512�- ������� �ᯮ�짮����� ������権, ����㯭�� ��� �����஢, �����ন����� AVX-512 /QIntel-jcc-erratum�- ������� ���࠭���� �᪮� Intel JCC�Erratum /Qspectre-load ������� ���࠭���� �᪮� Spectre ��� ��� ������権, ����� ����㦠�� ������ /Qspectre-load-cf ������� ���࠭���� �᪮� Spectre ��� ��� ������権 �ࠢ����� ��⮪��, ����� ����㦠�� ������ /Qspectre-jmp[-] ������� ���࠭���� �᪮� Spectre ��� ����᫮���� ������権 �� ���室� /fpcvt: ᮢ���⨬���� �८�ࠧ������ �᫠ � ������饩 �窮� � ����������� 楫�� IA�- १����� ᮢ���⨬� � ������樥� VCVTTSD2USI BC�- १�����, ᮢ���⨬� � ��������஬ VS2017 � ����� ࠭��� ���ᨩ /jumptablerdata ������� ⠡���� ���室�� ��� �����஢ switch case � ࠧ��� .rdata. -�������� �����- /Fa[䠩�]�- ������ ��� 䠩�� ���⨭�� ᡮન /FA[scu] ����ந�� ᯨ᮪ ᡮப /Fd[䠩�] ������ ��� PDB-䠩�� /Fe<䠩�> ������ ��� �ᯮ��塞��� 䠩�� /Fm[䠩�] ������ ��� 䠩�� ᮮ⢥��⢨� /Fo<䠩�> ������ ��� ��ꥪ⭮�� 䠩�� /Fp<䠩�> ������ ��� 䠩�� �।�������஢������ ��������� /Fr[䠩�] ������ ��� ��室���� 䠩�� ��㧥� /FR[䠩�] ������ ��� ���७���� SBR-䠩�� /Fi[䠩�] ��� 䠩�� �९����� /Fd: <䠩�> ������� ����� PDB-䠩�� /Fe: <䠩�> ������� ����� �ᯮ��塞��� 䠩�� /Fm: <䠩�> ������� ����� 䠩�� ᮯ��⠢����� /Fo: <䠩�> ������� ����� ��ꥪ⭮�� 䠩�� /Fp: <䠩�> ������� ����� PCH-䠩�� /FR: <䠩�> ������� ����� ���७���� SBR-䠩�� /Fi: <䠩�> ������� ����� 䠩�� �९����� /Ft �ᯮ������� 䠩��� ����������, ᮧ������ ��� ��४⨢� #import /doc[䠩�] ��ࠡ���� �������ਨ � XML-���㬥��樨 � ���� ��� (����易⥫쭮) XDC-䠩�� -������������- /AI<��⠫��> �������� � ��� ���᪠ ᡮப /FU<䠩�> ������஢��� ᡮ�� ��� ����� .NET /FU:asFriend<䠩�> ������஢��� ᡮ�� ��� ����� .NET � ����⢥ ��㣠 /C �� 㤠���� �������ਨ /D<���>{=|#}<⥪��> ������ ����� /E �뢮� ᮮ�饭�� � stdout /EP �뢮� ᮮ�饭�� � stdout, ��� #line /P �뢮� ᮮ�饭�� � 䠩� /Fx �������� ���ᥭ�� ��� � 䠩� /FI<䠩�> ������ ��� ��易⥫쭮 ����砥���� 䠩�� /U<���> 㤠���� ���஥���� ���ம�।������ /u 㤠���� �� ���஥��� ���ம�।������ /I<��⠫��> �������� � ���� ���᪠ ����砥��� 䠩��� /X �ய����� "standard places" /PH ᮧ���� #pragma file_hash �� �६� �।���⥫쭮� ��ࠡ�⪨ /PD �뢮���� �� ��।������ ����ᮢ -����- /std: - �⠭���⭠� ����� C++ c++14 - ISO/IEC 14882:2014 (�� 㬮�砭��) c++17 - ISO/IEC 14882:2017 c++20 - ISO/IEC 14882:2020 c++latest - ��᫥���� �஥�� �⠭���� (����� ���������⥩ ����� ���� �������) /std: �⠭���⭠� ����� C c11 - ISO/IEC 9899:2011 c17 - ISO/IEC 9899:2018 clatest - ��᫥���� �୮��� �⠭���� (����� �㭪権 ����� ���� �������) /permissive[-] ������� ��������� �����ண� ��ᮮ⢥�����饣� ���� (����� �㭪権 ����� ���� �������) (�� 㬮�砭�� �⪫�祭� � C++20 � ����� ������� ������) /Ze (�� ४���������) ������� ���७�� (�� 㬮�砭��) /Za �⪫���� ���७�� (�� ४��������� ��� C++) /ZW ����祭�� �몮��� ���७�� WinRT /Zs ⮫쪮 �஢�ઠ ᨭ⠪�� /await ࠧ�蠥� ���७�� ���������塞�� �㭪権 /await:strict ࠧ�蠥� �⠭������ �����প� ᮯணࠬ� C++20 � ����� ࠭���� ����ﬨ �몠 /constexpr:depth �।��쭠� ��㡨�� ४��ᨨ �� ���᫥��� constexpr (�� 㬮�砭�� 512) /constexpr:backtrace �뢮���� N ���᫥��� constexpr � �������⨪� (�� 㬮�砭�� 10) /constexpr:steps �������� ���᫥��� constexpr �१ N 蠣�� (�� 㬮�砭�� 1048576) /Zi ������� �⫠����� ���ଠ�� /Z7 ������� �⫠����� ���ଠ�� ��ண� ⨯� /Zo[-] ������ �⫠����� ���ଠ�� ��� ��⨬���஢������ ���� (����祭� �� 㬮�砭��) /ZH:[MD5|SHA1|SHA_256] ���-������ ��� ���᫥��� ����஫쭮� �㬬� � ᢥ������ �⫠��� (�� 㬮�砭��: SHA_256) /Zp[n] �������� �������� �� n-���⭮� �࠭�� /Zl �� ������� ��� ������⥪� �� 㬮�砭�� � OBJ-䠩� /vd{0|1|2} �⪫���� ��� ������� vtordisp /vm ⨯ 㪠��⥫�� �� 童�� /Zc:arg1[,arg2] ᮮ⢥��⢨� ���, ��� ��㬥��� ����� ����: forScope[-] �ਬ����� �⠭���� C++ ��� �ࠢ�� ��।������ �����⥩ wchar_t[-] wchar_t�- ���஥��� ⨯, � �� typedef auto[-] �ᯮ�짮���� ���� ��� �⠭���⭮�� C++ ��� auto trigraphs[-] ������� �ਣ��� (�⪫�祭� �� 㬮�砭��) rvalueCast[-] �ਬ����� �ࠢ��� ��� �८�ࠧ������ ⨯�� �� �⠭���� C++ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) strictStrings[-] �⪫�砥� ��ப��� ���ࠫ ��� [char|wchar_t]* �८�ࠧ������ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) implicitNoexcept[-] ������� ��� noexcept ��� �ॡ㥬�� �㭪権 threadSafeInit[-] ������� ��⮪���������� �������� ������� ���樠������ inline[-] 㤠���� ���ᯮ��㥬�� �㭪�� ��� �����, �᫨ ��� ���� COMDAT ��� ����� ⮫쪮 ����७��� ��� (�� 㬮�砭�� �⪫�祭�) sizedDealloc[-] ������� �᢮�������� ������쭮�� ࠧ��� C++14 �㭪樨 (�� 㬮�砭�� ����祭�) throwingNew[-] �।�������� �᪫�祭�� ������ new �� ᡮ� (�⪫�祭� �� 㬮�砭��) referenceBinding[-] �६����� ���祭�� �� �㤥� �ਢ易�� � ������⠭⭮�� ��뫪� �� lvalue (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) twoPhase- �⪫���� �����⠯�� ���� ���� ternary[-] �ਬ����� �ࠢ��� �� C++11 ��� �᫮����� ������ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) noexceptTypes[-] �ਬ����� �ࠢ��� noexcept C++17 (����祭� �� 㬮�砭�� � C++17 � ����� ������� ������) alignedNew[-] ������� ��ࠢ������� C++17 ��� �������᪨ �뤥�塞�� ��ꥪ⮢ (�� 㬮�砭�� ����祭�) hiddenFriend[-] �ਬ���� �⠭����� �ࠢ��� ���⮣� ��㣠 C++ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) externC[-] �ਬ����� �⠭����� �ࠢ��� C++ ��� �㭪権 "extern "C"" (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) lambda[-] ����襭��� �����প� �ﬡ��-��ࠦ���� �� ��� ����� ������ ��ࠡ��稪� (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) tlsGuards[-] - ᮧ����� �஢�ப ���樠����樨 TLS-��६����� �� �६� �믮������ (�� 㬮�砭�� ����祭�) zeroSizeArrayNew[-] �맮� ������� new/delete ��� ���ᨢ�� ��ꥪ⮢ �㫥���� ࠧ��� (�� 㬮�砭�� ����祭�) static_assert[-] ��ண�� ��ࠡ�⪠ static_assert (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ ���।�⢮� /permissive-) gotoScope[-] �� ����� ��३� ��᫥ ���樠����樨 ��६����� (���ࠧ㬥������ ��ࠬ��஬ /permissive-) templateScope[-] �ਬ���� �⠭����� �ࠢ��� 㤠������� �ࠢ����� ��ࠬ��ࠬ� 蠡���� C++ enumTypes[-] ������� ������ ⨯� ����᫥��� C++ �⠭����� (�� 㬮�砭�� �⪫�祭�) checkGwOdr[-] ���ᯥ稢��� ᮡ���� �ࠢ�� �⠭���� C++ � ����� ��।������� ����� ��ࠬ��� /Gw ����祭 (�� 㬮�砭�� �⪫�祭) nrvo[-] ������� ����易⥫쭮� ����஢���� � �ய�� ��६�饭�� (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ ���।�⢮� /permissive- ��� /O2) __STDC__ ��।����� __STDC__ ��� 1 � C __cplusplus[-] ����� __cplusplus ᮮ�頥� � �����ন������ �⠭���� C++ (�� 㬮�砭�� �⪫�祭�) char8_t[-] ������� ���஥���� �����প� ���ࠫ�� "u8" � C++20 ��� "char8_t" (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ���ᨨ) externConstexpr[-] ������� ������ ��� ��� ��६����� constexpr � C++ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) preprocessor[-] ������� �९�����, ᮮ⢥�����騩 �⠭����� � C/C++ (����祭� �� 㬮�砭�� � C11 ��� ����� ������� ���ᨨ) /ZI ������� �⫠���� ����� � ०��� "�������� � �த������" /openmp ������� �몮�� ���७�� OpenMP 2.0 /openmp:experimental: ������� ���७�� �몠 OpenMP�2.0, � ⠪�� ����� ���७�� �몠 OpenMP�3.0 � ����� ������� ���ᨩ /openmp:llvm ���७�� �몠 OpenMP, �ᯮ����騥 �।� �믮������ LLVM -������- @<䠩�> ��ࠬ���� 䠩�� �⢥⮢ /?, /help �뢥�� �� �ࠢ�筮� ᮮ�饭�� /bigobj ᮧ���� ���७�� �ଠ� ��ꥪ� /c ⮫쪮 �������஢���, ��� ���������� /errorReport:option �� ४���������. ������� � ����७��� �訡��� ��������� ��௮�樨 �������� none - �� ��ࠢ���� ���� prompt - �।������ ����������� ��ࠢ�� ���� queue - �� ᫥���饬 �室� � ��⥬� � ����⢥ ����������� �।������ ��ࠢ�� ���� (��ࠬ��� �� 㬮�砭��) send - ��⮬���᪨ ��ࠢ���� ���� /FC �ᯮ�짮���� ����� ��� � ���������᪨� ᮮ�饭��� /H<�᫮> ���ᨬ��쭠� ����� ���譥�� ����� /J �ᯮ�짮���� �� 㬮�砭�� unsigned ��� ⨯� char /MP[n] �ᯮ�짮���� �� n ����ᮢ ��� �������樨 /nologo �� �뢮���� 㢥�������� �� ����᪨� �ࠢ�� /showIncludes �������� ����� ����砥��� 䠩��� /Tc<��室��_䠩�> �������஢��� 䠩� ��� .c /Tp<��室��_䠩�> �������஢��� 䠩� ��� .cpp /TC �������஢��� �� 䠩�� ��� .c /TP �������஢��� �� 䠩�� ��� .cpp /V<��ப�> ������ ��ப� � ����஬ ���ᨨ /Yc[䠩�] ᮧ���� PCH-䠩� /Yd �뢮���� �⫠���� ����� � ����� OBJ-䠩� /Yl[ᨬ���] ����� ��뫪� PCH-䠩�� ��� �⫠��筮� ������⥪� /Yu[䠩�] �ᯮ�짮���� PCH-䠩� /Y- �⪫���� �� ��ࠬ���� PCH /Zm ������ ���ᨬ��쭮� �뤥����� ����� (% �� ���祭�� �� 㬮�砭��) /FS �ਭ㤨⥫쭮 �ᯮ�짮���� MSPDBSRV.EXE /source-charset:|.nnnn: ������� ��室��� ����஢�� /execution-charset:|.nnnn ������� ����஢�� �믮������ /utf-8 ������� UTF-8 � ����⢥ ��室��� ����஢�� � ����஢�� �믮������ /validate-charset[-] �஢�ઠ 䠩��� UTF-8 �� ����稥 ⮫쪮 �����⨬�� ������ /fastfail[-] ����祭�� ०��� fast-fail /JMC[-] ����祭�� �⫠��� ⮫쪮 ᮡ�⢥����� ���� � ������� �㭪樨 Just My Code /presetPadding[-] ���樠������ ���������� �㫥�� ���祭��� ��� ⨯�� ����ᮢ �� �᭮�� �⥪� /volatileMetadata[-] ᮧ���� ��⠤���� �� ����㯠� � ���࣮����ᨬ�� ����� /sourcelink [file] 䠩�, ᮤ�ঠ騩 ᢥ����� �� ��室��� ��뫪� -����������- /LD ᮧ���� ������⥪� .DLL /LDd ᮧ���� �⫠����� ������⥪� (.DLL) /LN ᮧ���� .netmodule /F<�᫮> ������ ࠧ��� �⥪� /link [��ࠬ���� ��������騪� � ������⥪�] /MD ����������� � MSVCRT.LIB /MT ����������� � LIBCMT.LIB /MDd ����������� � �⫠��筮� ������⥪�� MSVCRTD.LIB /MTd ����������� � �⫠��筮� ������⥪�� LIBCMTD.LIB -������ ����- /analyze[-] ������� ������ ��設���� ���� /analyze:quiet[-] �� �뢮���� �।�०����� �� ���᮫� /analyze:log<���> �뢮� �।�०����� � 䠩� /analyze:autolog ������ ��ୠ�� � *.pftlog /analyze:autolog:ext<���७��> ������ ��ୠ�� � *.<���७��> /analyze:autolog- �� �����뢠�� 䠩� ��ୠ�� /analyze:WX- �।�०����� �� ����� ����᪨�� /analyze:stacksize<�᫮> ���ᨬ���� ࠧ��� ���� �⥪� /analyze:max_paths<�᫮> ���ᨬ��쭮� �᫮ ��⥩ /analyze: ⮫쪮 ������, ��� ᮧ����� ���� -�����������- /diagnostics:�- ��।���� �ଠ� ᮮ�饭�� �������⨪�: classic�- ��࠭���� �।��饣� �ଠ� column[-]�- ����� ᢥ����� �⮫�� caret[-]�- ����� �⮫�� � 㪠������ ��室��� ��ப� /Wall ������� �� �।�०����� /w �⪫���� �� �।�०����� /W ��⠭����� �஢��� �।�०����� (�� 㬮�砭�� n=1) /Wv:xx[.yy[.zzzzz]] �⪫���� �।�०�����, ���訥�� ��᫥ ���ᨨ xx.yy.zzzzz /WX ��ࠡ��뢠�� �।�०����� ��� �訡�� /WL ������� ��������� ���������᪨� ᮮ�饭�� /wd �⪫���� �।�०����� �஢�� n /we ��ࠡ��뢠�� �।�०����� �஢�� n ��� �訡�� /wo �뤠���� �।�०����� �஢�� n ���� ࠧ /w ��⠭����� ��� n �஢��� �।�०����� 1-4 /external:I <����> - �ᯮ������� ���譨� ���������� /external:env:�- ��६����� �।� � �ᯮ������ﬨ ���譨� ���������� /external:anglebrackets�- ����� �� ��������� � <> ���譨�� /external:W�- ��ண �।�०����� ��� ���譨� ���������� /external:templates[-] - �業�� ��ண� �।�०����� �� �ᥩ 楯�窥 ᮧ����� ��������஢ 蠡����� /sdl - ������� �������⥫�� 㢥�������� � �㭪樨 ������᭮�� /options:strict ��������� ��ࠬ���� ��������� ����� �訡��� ----------- stderr: ��⨬������騩 ��������� Microsoft (R) C/C++ ���ᨨ 19.39.33523 ��� x64 (C) ��௮��� �������� (Microsoft Corporation). �� �ࠢ� ���饭�. ----------- Sanity testing C compiler: cl Is cross compiler: False. Sanity check compiler command line: cl sanitycheckc.c /Fesanitycheckc.exe /MDd /nologo /showIncludes /utf-8 /link Sanity check compile stdout: sanitycheckc.c ----- Sanity check compile stderr: ----- Running test binary command: "D:\meson\b 5dad6b1f72\meson-private\sanitycheckc.exe" C compiler for the host machine: cl (msvc 19.39.33523 "��⨬������騩 ��������� Microsoft (R) C/C++ ���ᨨ 19.39.33523 ��� x64") C linker for the host machine: link link 14.39.33523.0 ----------- Detecting archiver via: `lib /?` -> 1100 stdout: Microsoft (R) Library Manager Version 14.39.33523.0 Copyright (C) Microsoft Corporation. All rights reserved. �ᯮ�짮�����: LIB [��ࠬ����] [䠩��] ��ࠬ����: /DEF[:���_䠩��] /ERRORREPORT:{NONE|PROMPT|QUEUE|SEND} /EXPORT:ᨬ��� /EXTRACT:���_童�� /INCLUDE:ᨬ��� /LIBPATH:��⠫�� /LINKREPRO:��⠫�� /LINKREPROTARGET:��� 䠩�� /LIST[:���_䠩��] /LTCG /MACHINE:{ARM|ARM64|ARM64X|EBC|X64|X86} /NAME:���_䠩�� /NODEFAULTLIB[:������⥪�] /NOLOGO /OUT:���_䠩�� /REMOVE:���_童�� /SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION| EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER| NATIVE|POSIX|WINDOWS|WINDOWSCE}[,#[.##]] /VERBOSE /WX[:NO] /WX[:nnnn[,nnnn...]] ----------- ----------- Detecting compiler via: `icl ""` -> [WinError 2] Не удается найти указанный файл ----------- Detecting compiler via: `cl /?` -> 0 stdout: ��������� ����������� C/C++ -�����������- ���ᨬ��쭠� ��⨬����� /O1 (�ਮ��� ����) ���ᨬ��쭠� ��⨬����� /O2 (�ਮ��� ᪮���) /Ob ����⠭���� ���� (�� 㬮�砭�� n=0) /Od �⪫���� ��⨬���樨 (�� 㬮�砭��)/Og ������� ��������� ��⨬����� /Oi[-] ������� ����⠢�塞� �㭪樨 /Os �।����⥫쭮� ����࠭�⢮ ���� /Ot �।����⥫쭠� ᪮���� ���� ��⨬����� /Ox (�ਮ��� ᪮���) /favor: - ����� ������, ��� ���ண� ��⨬���஢���; ���� �� ��ਠ�⮢: blend - ��⠭�� ��⨬���権 ��� ��᪮�쪨� ࠧ��� �����஢ x64 AMD64 - 64-ࠧ�來� ������� AMD INTEL64 - ������� � ���⥪��ன Intel(R)64 ATOM - ������� Intel(R) Atom(TM) -������������ ����- /Gu[-] ��࠭����, �� � ࠧ��� �㭪権 ���� ࠧ�� ���� /Gw[-] ࠧ������ �������� ��६���� ��� ��������騪� /GF ������� ��ꥤ������ ��ப ⮫쪮 ��� �⥭�� /Gm[-] ������� ०�� ��������樨 �� ����஥��� /Gy[-] ࠧ������ �㭪樨 ��� ��������騪� /GS[-] ������� �஢��� ��⥬� ������᭮�� /GR[-] ������� C++ RTTI /GX[-] ������� C++ EH (� ��, �� � /EHsc) /guard:cf[-] ����砥� CFG (���� ��⮪� �ࠢ�����) /guard:ehcont[-]: ����祭�� ��⠤����� �த������� EH (CET) /EHs ������� C++ EH (��� �᪫�祭�� SEH) /EHa ������� C++ EH (� �᪫�祭�ﬨ SEH) /EHc ���譨� C ����砥� ���祭�� �� 㬮�砭�� nothrow /EHr �ᥣ�� ᮧ������ �஢�ન �����襭�� �६��� �믮������ noexcept /fp: �롮� ������ � ������饩 ����⮩: ᮪�饭�� - ��ᬮ��� ����������� �ᯮ�짮����� ᮪�饭�� � ������饩 ����⮩ �� ᮧ����� ���� except[-] - ����������� �ᯮ�짮����� �᪫�祭�� � ������饩 ����⮩ �� ᮧ����� ���� fast - "������" (fast) ������ � ������饩 ����⮩; १����� ����� �।᪠�㥬� precise - "�筠�" (precise) ������ � ������饩 ����⮩; १����� �।᪠�㥬� strict - "��ண��" (strict) ������ � ������饩 ����⮩ (��ࠦ��� /fp:except) /Qfast_transcendentals ᮧ����� ���஥���� ���ம�।������ FP ���� � /fp:except / Qspectre[-]�- ������� ��ࠢ����� CVE 2017-5753 /Qpar[-]�- ����祭�� ��ࠫ���쭮�� ᮧ����� ���� /Qpar-report:1�- �������⨪� ��⮬���᪮�� ��ࠫ��������; 㪠����� ��ࠫ������������ 横��� /Qpar-report:2�- �������⨪� ��⮬���᪮�� ��ࠫ��������; 㪠����� ����ࠫ������������ 横��� /Qvec-report:1�- �������⨪� ��⮬���᪮�� ����ਧ���; 㪠����� ����ਧ�஢����� 横��� /Qvec-report:2�- �������⨪� ��⮬���᪮�� ����ਧ���; 㪠����� ������ਧ������� 横��� /GL[-]�- ����祭�� ᮧ����� ���� �� �६� ���������� /volatile:�- �롮� ������ﭭ�� ������: iso�- ᥬ��⨪� ����祭�� � �᢮�������� �� ��࠭������ �� ������ﭭ�� ���饭�� ms�- ᥬ��⨪� ����祭�� � �᢮�������� ��࠭������ �� ������ﭭ�� ���饭�� /GA ��⨬���஢��� ��� �ਫ������ Windows /Ge �஢����� �⥪ ��� ��� �㭪権 /Gs[�᫮] ����஫�஢��� �맮�� �஢�ન �⥪� /Gh ������� �맮� �㭪樨 _penter /GH ������� �맮� �㭪樨 _pexit /GT ᮧ���� �������� �⭮�⥫쭮 ������� ������ � �����쭮�� �࠭����� ��⮪� (TLS) /RTC1 ������� ������� �஢��� (/RTCsu) /RTCc �८�ࠧ����� � ᮪�饭��� �஢�થ ⨯�� /RTCs �஢�ઠ ���஢ �⥪� �� �६� �믮������ /RTCu �����樠����஢����� �஢�ઠ �����쭮�� �ᯮ�짮����� /clr[:��ࠬ���] �������஢��� ��� ����몮��� �।� �믮������; ����� ��ࠬ��� - ��: pure: ᮧ���� ��室��� 䠩� ⮫쪮 IL (��� �ᯮ��塞��� ��設���� ����) safe: ᮧ���� �஢��塞� ��室��� 䠩� ⮫쪮 IL netcore: ᮧ������ ᡮન, �।�����祭�� ��� �।� �믮������ .NET Core noAssembly: �� ᮧ������ ᡮ�� nostdlib: �����஢��� ��⥬�� ��⠫�� .NET Framework �� ���᪥ ᡮப nostdimport: �� ������஢��� ����室��� ᡮન ��� ��ࠧ�� initialAppDomain: ������� ��室��� ��������� AppDomain �� Visual C++ 2002 implicitKeepAlive-: �⪫���� ��� �뢮� System::GC::KeepAlive(this) /fsanitize=address ������� codegen ��� ᠭ�⠩��� ���ᮢ /homeparams ���ᯥ��� ������ ��ࠬ��஢, ��।������� � ॣ�����, � �⥪ /GZ ������� �஢��� �⥪� (/RTCs) /Gv �ᯮ�짮���� ᮣ��襭�� � �맮��� __vectorcall /arch: ��������� �ॡ������ � ���⥪��� ��; ���� �� ��ਠ�⮢: AVX - ������� �ᯮ�짮����� ������権, ����㯭�� ��� �����஢, �����ন����� AVX AVX2 - ������� �ᯮ�짮����� ������権, ����㯭�� ��� �����஢, �����ন����� AVX2 AVX512�- ������� �ᯮ�짮����� ������権, ����㯭�� ��� �����஢, �����ন����� AVX-512 /QIntel-jcc-erratum�- ������� ���࠭���� �᪮� Intel JCC�Erratum /Qspectre-load ������� ���࠭���� �᪮� Spectre ��� ��� ������権, ����� ����㦠�� ������ /Qspectre-load-cf ������� ���࠭���� �᪮� Spectre ��� ��� ������権 �ࠢ����� ��⮪��, ����� ����㦠�� ������ /Qspectre-jmp[-] ������� ���࠭���� �᪮� Spectre ��� ����᫮���� ������権 �� ���室� /fpcvt: ᮢ���⨬���� �८�ࠧ������ �᫠ � ������饩 �窮� � ����������� 楫�� IA�- १����� ᮢ���⨬� � ������樥� VCVTTSD2USI BC�- १�����, ᮢ���⨬� � ��������஬ VS2017 � ����� ࠭��� ���ᨩ /jumptablerdata ������� ⠡���� ���室�� ��� �����஢ switch case � ࠧ��� .rdata. -�������� �����- /Fa[䠩�]�- ������ ��� 䠩�� ���⨭�� ᡮન /FA[scu] ����ந�� ᯨ᮪ ᡮப /Fd[䠩�] ������ ��� PDB-䠩�� /Fe<䠩�> ������ ��� �ᯮ��塞��� 䠩�� /Fm[䠩�] ������ ��� 䠩�� ᮮ⢥��⢨� /Fo<䠩�> ������ ��� ��ꥪ⭮�� 䠩�� /Fp<䠩�> ������ ��� 䠩�� �।�������஢������ ��������� /Fr[䠩�] ������ ��� ��室���� 䠩�� ��㧥� /FR[䠩�] ������ ��� ���७���� SBR-䠩�� /Fi[䠩�] ��� 䠩�� �९����� /Fd: <䠩�> ������� ����� PDB-䠩�� /Fe: <䠩�> ������� ����� �ᯮ��塞��� 䠩�� /Fm: <䠩�> ������� ����� 䠩�� ᮯ��⠢����� /Fo: <䠩�> ������� ����� ��ꥪ⭮�� 䠩�� /Fp: <䠩�> ������� ����� PCH-䠩�� /FR: <䠩�> ������� ����� ���७���� SBR-䠩�� /Fi: <䠩�> ������� ����� 䠩�� �९����� /Ft �ᯮ������� 䠩��� ����������, ᮧ������ ��� ��४⨢� #import /doc[䠩�] ��ࠡ���� �������ਨ � XML-���㬥��樨 � ���� ��� (����易⥫쭮) XDC-䠩�� -������������- /AI<��⠫��> �������� � ��� ���᪠ ᡮப /FU<䠩�> ������஢��� ᡮ�� ��� ����� .NET /FU:asFriend<䠩�> ������஢��� ᡮ�� ��� ����� .NET � ����⢥ ��㣠 /C �� 㤠���� �������ਨ /D<���>{=|#}<⥪��> ������ ����� /E �뢮� ᮮ�饭�� � stdout /EP �뢮� ᮮ�饭�� � stdout, ��� #line /P �뢮� ᮮ�饭�� � 䠩� /Fx �������� ���ᥭ�� ��� � 䠩� /FI<䠩�> ������ ��� ��易⥫쭮 ����砥���� 䠩�� /U<���> 㤠���� ���஥���� ���ம�।������ /u 㤠���� �� ���஥��� ���ம�।������ /I<��⠫��> �������� � ���� ���᪠ ����砥��� 䠩��� /X �ய����� "standard places" /PH ᮧ���� #pragma file_hash �� �६� �।���⥫쭮� ��ࠡ�⪨ /PD �뢮���� �� ��।������ ����ᮢ -����- /std: - �⠭���⭠� ����� C++ c++14 - ISO/IEC 14882:2014 (�� 㬮�砭��) c++17 - ISO/IEC 14882:2017 c++20 - ISO/IEC 14882:2020 c++latest - ��᫥���� �஥�� �⠭���� (����� ���������⥩ ����� ���� �������) /std: �⠭���⭠� ����� C c11 - ISO/IEC 9899:2011 c17 - ISO/IEC 9899:2018 clatest - ��᫥���� �୮��� �⠭���� (����� �㭪権 ����� ���� �������) /permissive[-] ������� ��������� �����ண� ��ᮮ⢥�����饣� ���� (����� �㭪権 ����� ���� �������) (�� 㬮�砭�� �⪫�祭� � C++20 � ����� ������� ������) /Ze (�� ४���������) ������� ���७�� (�� 㬮�砭��) /Za �⪫���� ���७�� (�� ४��������� ��� C++) /ZW ����祭�� �몮��� ���७�� WinRT /Zs ⮫쪮 �஢�ઠ ᨭ⠪�� /await ࠧ�蠥� ���७�� ���������塞�� �㭪権 /await:strict ࠧ�蠥� �⠭������ �����প� ᮯணࠬ� C++20 � ����� ࠭���� ����ﬨ �몠 /constexpr:depth �।��쭠� ��㡨�� ४��ᨨ �� ���᫥��� constexpr (�� 㬮�砭�� 512) /constexpr:backtrace �뢮���� N ���᫥��� constexpr � �������⨪� (�� 㬮�砭�� 10) /constexpr:steps �������� ���᫥��� constexpr �१ N 蠣�� (�� 㬮�砭�� 1048576) /Zi ������� �⫠����� ���ଠ�� /Z7 ������� �⫠����� ���ଠ�� ��ண� ⨯� /Zo[-] ������ �⫠����� ���ଠ�� ��� ��⨬���஢������ ���� (����祭� �� 㬮�砭��) /ZH:[MD5|SHA1|SHA_256] ���-������ ��� ���᫥��� ����஫쭮� �㬬� � ᢥ������ �⫠��� (�� 㬮�砭��: SHA_256) /Zp[n] �������� �������� �� n-���⭮� �࠭�� /Zl �� ������� ��� ������⥪� �� 㬮�砭�� � OBJ-䠩� /vd{0|1|2} �⪫���� ��� ������� vtordisp /vm ⨯ 㪠��⥫�� �� 童�� /Zc:arg1[,arg2] ᮮ⢥��⢨� ���, ��� ��㬥��� ����� ����: forScope[-] �ਬ����� �⠭���� C++ ��� �ࠢ�� ��।������ �����⥩ wchar_t[-] wchar_t�- ���஥��� ⨯, � �� typedef auto[-] �ᯮ�짮���� ���� ��� �⠭���⭮�� C++ ��� auto trigraphs[-] ������� �ਣ��� (�⪫�祭� �� 㬮�砭��) rvalueCast[-] �ਬ����� �ࠢ��� ��� �८�ࠧ������ ⨯�� �� �⠭���� C++ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) strictStrings[-] �⪫�砥� ��ப��� ���ࠫ ��� [char|wchar_t]* �८�ࠧ������ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) implicitNoexcept[-] ������� ��� noexcept ��� �ॡ㥬�� �㭪権 threadSafeInit[-] ������� ��⮪���������� �������� ������� ���樠������ inline[-] 㤠���� ���ᯮ��㥬�� �㭪�� ��� �����, �᫨ ��� ���� COMDAT ��� ����� ⮫쪮 ����७��� ��� (�� 㬮�砭�� �⪫�祭�) sizedDealloc[-] ������� �᢮�������� ������쭮�� ࠧ��� C++14 �㭪樨 (�� 㬮�砭�� ����祭�) throwingNew[-] �।�������� �᪫�祭�� ������ new �� ᡮ� (�⪫�祭� �� 㬮�砭��) referenceBinding[-] �६����� ���祭�� �� �㤥� �ਢ易�� � ������⠭⭮�� ��뫪� �� lvalue (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) twoPhase- �⪫���� �����⠯�� ���� ���� ternary[-] �ਬ����� �ࠢ��� �� C++11 ��� �᫮����� ������ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) noexceptTypes[-] �ਬ����� �ࠢ��� noexcept C++17 (����祭� �� 㬮�砭�� � C++17 � ����� ������� ������) alignedNew[-] ������� ��ࠢ������� C++17 ��� �������᪨ �뤥�塞�� ��ꥪ⮢ (�� 㬮�砭�� ����祭�) hiddenFriend[-] �ਬ���� �⠭����� �ࠢ��� ���⮣� ��㣠 C++ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) externC[-] �ਬ����� �⠭����� �ࠢ��� C++ ��� �㭪権 "extern "C"" (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) lambda[-] ����襭��� �����প� �ﬡ��-��ࠦ���� �� ��� ����� ������ ��ࠡ��稪� (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) tlsGuards[-] - ᮧ����� �஢�ப ���樠����樨 TLS-��६����� �� �६� �믮������ (�� 㬮�砭�� ����祭�) zeroSizeArrayNew[-] �맮� ������� new/delete ��� ���ᨢ�� ��ꥪ⮢ �㫥���� ࠧ��� (�� 㬮�砭�� ����祭�) static_assert[-] ��ண�� ��ࠡ�⪠ static_assert (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ ���।�⢮� /permissive-) gotoScope[-] �� ����� ��३� ��᫥ ���樠����樨 ��६����� (���ࠧ㬥������ ��ࠬ��஬ /permissive-) templateScope[-] �ਬ���� �⠭����� �ࠢ��� 㤠������� �ࠢ����� ��ࠬ��ࠬ� 蠡���� C++ enumTypes[-] ������� ������ ⨯� ����᫥��� C++ �⠭����� (�� 㬮�砭�� �⪫�祭�) checkGwOdr[-] ���ᯥ稢��� ᮡ���� �ࠢ�� �⠭���� C++ � ����� ��।������� ����� ��ࠬ��� /Gw ����祭 (�� 㬮�砭�� �⪫�祭) nrvo[-] ������� ����易⥫쭮� ����஢���� � �ய�� ��६�饭�� (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ ���।�⢮� /permissive- ��� /O2) __STDC__ ��।����� __STDC__ ��� 1 � C __cplusplus[-] ����� __cplusplus ᮮ�頥� � �����ন������ �⠭���� C++ (�� 㬮�砭�� �⪫�祭�) char8_t[-] ������� ���஥���� �����প� ���ࠫ�� "u8" � C++20 ��� "char8_t" (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ���ᨨ) externConstexpr[-] ������� ������ ��� ��� ��६����� constexpr � C++ (����祭� �� 㬮�砭�� � C++20 ��� ����� ������� ������, ���ࠧ㬥������ /permissive-) preprocessor[-] ������� �९�����, ᮮ⢥�����騩 �⠭����� � C/C++ (����祭� �� 㬮�砭�� � C11 ��� ����� ������� ���ᨨ) /ZI ������� �⫠���� ����� � ०��� "�������� � �த������" /openmp ������� �몮�� ���७�� OpenMP 2.0 /openmp:experimental: ������� ���७�� �몠 OpenMP�2.0, � ⠪�� ����� ���७�� �몠 OpenMP�3.0 � ����� ������� ���ᨩ /openmp:llvm ���७�� �몠 OpenMP, �ᯮ����騥 �।� �믮������ LLVM -������- @<䠩�> ��ࠬ���� 䠩�� �⢥⮢ /?, /help �뢥�� �� �ࠢ�筮� ᮮ�饭�� /bigobj ᮧ���� ���७�� �ଠ� ��ꥪ� /c ⮫쪮 �������஢���, ��� ���������� /errorReport:option �� ४���������. ������� � ����७��� �訡��� ��������� ��௮�樨 �������� none - �� ��ࠢ���� ���� prompt - �।������ ����������� ��ࠢ�� ���� queue - �� ᫥���饬 �室� � ��⥬� � ����⢥ ����������� �।������ ��ࠢ�� ���� (��ࠬ��� �� 㬮�砭��) send - ��⮬���᪨ ��ࠢ���� ���� /FC �ᯮ�짮���� ����� ��� � ���������᪨� ᮮ�饭��� /H<�᫮> ���ᨬ��쭠� ����� ���譥�� ����� /J �ᯮ�짮���� �� 㬮�砭�� unsigned ��� ⨯� char /MP[n] �ᯮ�짮���� �� n ����ᮢ ��� �������樨 /nologo �� �뢮���� 㢥�������� �� ����᪨� �ࠢ�� /showIncludes �������� ����� ����砥��� 䠩��� /Tc<��室��_䠩�> �������஢��� 䠩� ��� .c /Tp<��室��_䠩�> �������஢��� 䠩� ��� .cpp /TC �������஢��� �� 䠩�� ��� .c /TP �������஢��� �� 䠩�� ��� .cpp /V<��ப�> ������ ��ப� � ����஬ ���ᨨ /Yc[䠩�] ᮧ���� PCH-䠩� /Yd �뢮���� �⫠���� ����� � ����� OBJ-䠩� /Yl[ᨬ���] ����� ��뫪� PCH-䠩�� ��� �⫠��筮� ������⥪� /Yu[䠩�] �ᯮ�짮���� PCH-䠩� /Y- �⪫���� �� ��ࠬ���� PCH /Zm ������ ���ᨬ��쭮� �뤥����� ����� (% �� ���祭�� �� 㬮�砭��) /FS �ਭ㤨⥫쭮 �ᯮ�짮���� MSPDBSRV.EXE /source-charset:|.nnnn: ������� ��室��� ����஢�� /execution-charset:|.nnnn ������� ����஢�� �믮������ /utf-8 ������� UTF-8 � ����⢥ ��室��� ����஢�� � ����஢�� �믮������ /validate-charset[-] �஢�ઠ 䠩��� UTF-8 �� ����稥 ⮫쪮 �����⨬�� ������ /fastfail[-] ����祭�� ०��� fast-fail /JMC[-] ����祭�� �⫠��� ⮫쪮 ᮡ�⢥����� ���� � ������� �㭪樨 Just My Code /presetPadding[-] ���樠������ ���������� �㫥�� ���祭��� ��� ⨯�� ����ᮢ �� �᭮�� �⥪� /volatileMetadata[-] ᮧ���� ��⠤���� �� ����㯠� � ���࣮����ᨬ�� ����� /sourcelink [file] 䠩�, ᮤ�ঠ騩 ᢥ����� �� ��室��� ��뫪� -����������- /LD ᮧ���� ������⥪� .DLL /LDd ᮧ���� �⫠����� ������⥪� (.DLL) /LN ᮧ���� .netmodule /F<�᫮> ������ ࠧ��� �⥪� /link [��ࠬ���� ��������騪� � ������⥪�] /MD ����������� � MSVCRT.LIB /MT ����������� � LIBCMT.LIB /MDd ����������� � �⫠��筮� ������⥪�� MSVCRTD.LIB /MTd ����������� � �⫠��筮� ������⥪�� LIBCMTD.LIB -������ ����- /analyze[-] ������� ������ ��設���� ���� /analyze:quiet[-] �� �뢮���� �।�०����� �� ���᮫� /analyze:log<���> �뢮� �।�०����� � 䠩� /analyze:autolog ������ ��ୠ�� � *.pftlog /analyze:autolog:ext<���७��> ������ ��ୠ�� � *.<���७��> /analyze:autolog- �� �����뢠�� 䠩� ��ୠ�� /analyze:WX- �।�०����� �� ����� ����᪨�� /analyze:stacksize<�᫮> ���ᨬ���� ࠧ��� ���� �⥪� /analyze:max_paths<�᫮> ���ᨬ��쭮� �᫮ ��⥩ /analyze: ⮫쪮 ������, ��� ᮧ����� ���� -�����������- /diagnostics:�- ��।���� �ଠ� ᮮ�饭�� �������⨪�: classic�- ��࠭���� �।��饣� �ଠ� column[-]�- ����� ᢥ����� �⮫�� caret[-]�- ����� �⮫�� � 㪠������ ��室��� ��ப� /Wall ������� �� �।�०����� /w �⪫���� �� �।�०����� /W ��⠭����� �஢��� �।�०����� (�� 㬮�砭�� n=1) /Wv:xx[.yy[.zzzzz]] �⪫���� �।�०�����, ���訥�� ��᫥ ���ᨨ xx.yy.zzzzz /WX ��ࠡ��뢠�� �।�०����� ��� �訡�� /WL ������� ��������� ���������᪨� ᮮ�饭�� /wd �⪫���� �।�०����� �஢�� n /we ��ࠡ��뢠�� �।�०����� �஢�� n ��� �訡�� /wo �뤠���� �।�०����� �஢�� n ���� ࠧ /w ��⠭����� ��� n �஢��� �।�०����� 1-4 /external:I <����> - �ᯮ������� ���譨� ���������� /external:env:�- ��६����� �।� � �ᯮ������ﬨ ���譨� ���������� /external:anglebrackets�- ����� �� ��������� � <> ���譨�� /external:W�- ��ண �।�०����� ��� ���譨� ���������� /external:templates[-] - �業�� ��ண� �।�०����� �� �ᥩ 楯�窥 ᮧ����� ��������஢ 蠡����� /sdl - ������� �������⥫�� 㢥�������� � �㭪樨 ������᭮�� /options:strict ��������� ��ࠬ���� ��������� ����� �訡��� ----------- stderr: ��⨬������騩 ��������� Microsoft (R) C/C++ ���ᨨ 19.39.33523 ��� x64 (C) ��௮��� �������� (Microsoft Corporation). �� �ࠢ� ���饭�. ----------- Sanity testing C compiler: cl Is cross compiler: False. Sanity check compiler command line: cl sanitycheckc.c /Fesanitycheckc.exe /MDd /nologo /showIncludes /utf-8 /link Sanity check compile stdout: sanitycheckc.c ----- Sanity check compile stderr: ----- Running test binary command: "D:\meson\b 5dad6b1f72\meson-private\sanitycheckc.exe" C compiler for the build machine: cl (msvc 19.39.33523 "��⨬������騩 ��������� Microsoft (R) C/C++ ���ᨨ 19.39.33523 ��� x64") C linker for the build machine: link link 14.39.33523.0 ----------- Detecting archiver via: `lib /?` -> 1100 stdout: Microsoft (R) Library Manager Version 14.39.33523.0 Copyright (C) Microsoft Corporation. All rights reserved. �ᯮ�짮�����: LIB [��ࠬ����] [䠩��] ��ࠬ����: /DEF[:���_䠩��] /ERRORREPORT:{NONE|PROMPT|QUEUE|SEND} /EXPORT:ᨬ��� /EXTRACT:���_童�� /INCLUDE:ᨬ��� /LIBPATH:��⠫�� /LINKREPRO:��⠫�� /LINKREPROTARGET:��� 䠩�� /LIST[:���_䠩��] /LTCG /MACHINE:{ARM|ARM64|ARM64X|EBC|X64|X86} /NAME:���_䠩�� /NODEFAULTLIB[:������⥪�] /NOLOGO /OUT:���_䠩�� /REMOVE:���_童�� /SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION| EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER| NATIVE|POSIX|WINDOWS|WINDOWSCE}[,#[.##]] /VERBOSE /WX[:NO] /WX[:nnnn[,nnnn...]] ----------- Auto detected Visual Studio backend: vs2022 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64 Program pkg-config found: YES (D:\msys64\usr\bin\pkg-config.EXE) Program make found: YES (D:\msys64\usr\bin\make.EXE) Pkg-config binary missing from cross or native file, or env var undefined. Trying a default Pkg-config fallback at pkg-config Found pkg-config: YES (D:\msys64\usr\bin\pkg-config.EXE) 2.3.0 test cases\common\230 external project\libfoo\meson.build:1: WARNING: Module External build system has no backwards or forwards compatibility and might not exist in future releases. Traceback (most recent call last): File "D:\meson\run_tests.py", line 306, in run_configure_inprocess returncode = mesonmain.run(commandlist, get_meson_script()) File "D:\meson\mesonbuild\mesonmain.py", line 284, in run return CommandLineParser().run(args) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "D:\meson\mesonbuild\mesonmain.py", line 195, in run return errorhandler(e, command) File "D:\meson\mesonbuild\mesonmain.py", line 44, in errorhandler raise e File "D:\meson\mesonbuild\mesonmain.py", line 193, in run return options.run_func(options) ~~~~~~~~~~~~~~~~^^^^^^^^^ File "D:\meson\mesonbuild\msetup.py", line 365, in run app.generate() ~~~~~~~~~~~~^^ File "D:\meson\mesonbuild\msetup.py", line 188, in generate return self._generate(env, capture, vslite_ctx) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\meson\mesonbuild\msetup.py", line 227, in _generate intr.run() ~~~~~~~~^^ File "D:\meson\mesonbuild\interpreter\interpreter.py", line 3077, in run super().run() ~~~~~~~~~~~^^ File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 169, in run self.evaluate_codeblock(self.ast, start=1) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 195, in evaluate_codeblock raise e File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 187, in evaluate_codeblock self.evaluate_statement(cur) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^ File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 201, in evaluate_statement return self.function_call(cur) ~~~~~~~~~~~~~~~~~~^^^^^ File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 528, in function_call res = func(node, func_args, kwargs) File "D:\meson\mesonbuild\interpreterbase\decorators.py", line 237, in wrapper return f(*nargs, **wrapped_kwargs) File "D:\meson\mesonbuild\interpreterbase\decorators.py", line 556, in wrapper return f(*wrapped_args, **wrapped_kwargs) File "D:\meson\mesonbuild\interpreter\interpreter.py", line 2490, in func_subdir self.evaluate_codeblock(codeblock) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 195, in evaluate_codeblock raise e File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 187, in evaluate_codeblock self.evaluate_statement(cur) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^ File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 205, in evaluate_statement self.assignment(cur) ~~~~~~~~~~~~~~~^^^^^ File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 642, in assignment value = self.evaluate_statement(node.value) File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 207, in evaluate_statement return self.method_call(cur) ~~~~~~~~~~~~~~~~^^^^^ File "D:\meson\mesonbuild\interpreterbase\interpreterbase.py", line 557, in method_call res = obj.method_call(method_name, args, kwargs) File "D:\meson\mesonbuild\interpreter\interpreterobjects.py", line 885, in method_call ret = method(state, args, kwargs) File "D:\meson\mesonbuild\interpreterbase\decorators.py", line 237, in wrapper return f(*nargs, **wrapped_kwargs) File "D:\meson\mesonbuild\interpreterbase\decorators.py", line 556, in wrapper return f(*wrapped_args, **wrapped_kwargs) File "D:\meson\mesonbuild\modules\external_project.py", line 300, in add_project project = ExternalProject(state, configure_command, ...<3 lines>... kwargs['verbose'], kwargs['depends']) File "D:\meson\mesonbuild\modules\external_project.py", line 96, in __init__ self.prefix = self.prefix.relative_to(self.prefix.drive) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python313\Lib\pathlib\_local.py", line 385, in relative_to raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}") ValueError: 'x:\\usr' is not in the subpath of 'x:' Total passed tests: 495 Total failed tests: 1 Total skipped tests: 122 All failures: -> common: 230 external project D:\meson> ```