diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da5a12f8..cf6b8d71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,6 +85,9 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Install gcc-12 + run: sudo apt install -y gcc-12 g++-12 + - name: Install multilibs run: sudo apt install gcc-multilib g++-multilib diff --git a/CMakeLists.txt b/CMakeLists.txt index 4decf06b..968d485c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,6 +92,10 @@ if(ZINT_SANITIZE) # Gives warning on MainWindow::setupUI() and retries (& takes forever) if var-tracking-assignments enabled add_compile_options(-fno-var-tracking-assignments) endif() + if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") + # Recent clangs added deprecation warnings for `sprintf()` that are only triggered on sanitize - suppress + add_compile_options(-W-no-deprecated-declarations) + endif() endif() endif() diff --git a/README b/README index a9907f3f..80d5de5a 100644 --- a/README +++ b/README @@ -40,7 +40,7 @@ Please see "ChangeLog" in the project root directory. LICENSE ------- -Zint, libzint and Zint Barcode Studio are Copyright © 2022 Robin Stuart. All +Zint, libzint and Zint Barcode Studio are Copyright © 2023 Robin Stuart. All historical versions are distributed under the GNU General Public License version 3 or later. Versions 2.5 and later are released under a dual license: the encoding library is released under the BSD (3 clause) license whereas the