mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 02:17:06 +00:00
DXFILMEDGE: suppress gcc warning -Wmaybe-uninitialized
CMakeFile: don't disable -fno-var-tracking-assignments for gcc github: try installing de_DE.UTF-8 locale (for test_filemem)
This commit is contained in:
@@ -114,10 +114,6 @@ if(ZINT_SANITIZE)
|
||||
unset(CMAKE_REQUIRED_LIBRARIES)
|
||||
endforeach()
|
||||
|
||||
if(NOT ZINT_DEBUG AND CMAKE_C_COMPILER_ID MATCHES "GNU")
|
||||
# Gives warning on MainWindow::setupUI() and retries (& takes forever) if var-tracking-assignments enabled
|
||||
add_compile_options(-fno-var-tracking-assignments)
|
||||
endif()
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
# Recent clangs added deprecation warnings for `sprintf()` that are only triggered on sanitize - suppress
|
||||
add_compile_options(-Wno-deprecated-declarations)
|
||||
|
||||
Reference in New Issue
Block a user