File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
test cases/common/286 importstd Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,11 @@ cpp = meson.get_compiler('cpp')
66cpp_id = cpp.get_id()
77cpp_version = cpp.version()
88
9- if cpp_id == ' gcc' and cpp_version.version_compare(' >=15.1' )
10- if host_machine .system() == ' windows'
11- istd_supported = cpp_version.version_compare(' >=15.3' )
12- else
13- if cpp_version.version_compare(' =15.2.0' ) or cpp_version.version_compare(' >=15.3.0' )
14- istd_supported = true
15- else
16- istd_supported = false
17- endif
18- endif
9+ if cpp_id == ' gcc' and cpp_version.version_compare(' >=15.3' )
10+ # Versions between 15.0 and 15.2 are too unreliable to test.
11+ # The same version number of GCC works in some distros
12+ # but fails in others.
13+ istd_supported = true
1914elif cpp_id == ' msvc' and cpp_version.version_compare(' >=19.44.35219' )
2015 istd_supported = get_option (' backend' ) == ' ninja'
2116else
You can’t perform that action at this time.
0 commit comments