mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
CMake: disable Clang deprecations (`sprintf()') on sanitize
README: Copyright 2022 -> 2023 github: try gcc-12 for 32-bit Ubuntu
This commit is contained in:
parent
607e4ed33a
commit
9a5bcdacee
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
2
README
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user