[Git][wxwidgets/wxwidgets][master] Disable 3.2 compatibility for MSVS 2026 CI builds

1 view
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
May 22, 2026, 11:50:31 AMMay 22
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • 0389ad76
    by Vadim Zeitlin at 2026-05-22T17:26:01+02:00
    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.
    

1 changed file:

Changes:

  • .github/workflows/ci_msw.yml
    ... ... @@ -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 Notification message regarding https://gitlab.com/wxwidgets/wxwidgets/-/commit/0389ad761940a6b94e6086beb059caced8058c04 at 1779465027

Reply all
Reply to author
Forward
0 new messages