Disable 3.2 compatibility for MSVS 2026 CI builds Having it enabled results in tons of deprecation warnings from the wxPG headers that seem to be false positives (see the parent commit), but still break the CI job, so just avoid them for now.
| ... | ... | @@ -92,6 +92,7 @@ jobs: |
| 92 | 92 | compiler: vs2026
|
| 93 | 93 | compiler_suffix: vc18.slnx
|
| 94 | 94 | use_cxx20: true
|
| 95 | + no_compat_3_2: true
|
|
| 95 | 96 | |
| 96 | 97 | steps:
|
| 97 | 98 | - name: Checkout
|
| ... | ... | @@ -104,9 +105,12 @@ jobs: |
| 104 | 105 | run: |
|
| 105 | 106 | $use_std_string = "${{ matrix.use_std_string }}" ? 1 : 0
|
| 106 | 107 | $use_utf8 = "${{ matrix.use_utf8 }}" ? 1 : 0
|
| 108 | + $no_compat_3_2 = "${{ matrix.no_compat_3_2 }}" ? 1 : 0
|
|
| 107 | 109 | if ( $use_std_string -or $use_utf8 ) {
|
| 110 | + $use_compat_3_2 = 1 - $no_compat_3_2
|
|
| 108 | 111 | $txt = Get-Content setup.h
|
| 109 | 112 | Write-Output $txt |
|
| 113 | + %{$_ -replace "define WXWIN_COMPATIBILITY_3_2 1", "define WXWIN_COMPATIBILITY_3_2 $use_compat_3_2"} |
|
|
| 110 | 114 | %{$_ -replace "define wxUSE_STD_STRING_CONV_IN_WXSTRING 0", "define wxUSE_STD_STRING_CONV_IN_WXSTRING $use_std_string"} |
|
| 111 | 115 | %{$_ -replace "define wxUSE_UNICODE_UTF8 0", "define wxUSE_UNICODE_UTF8 $use_utf8"} |
|
| 112 | 116 | Set-Content setup.h
|
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help