diff --git a/CMakeLists.txt b/CMakeLists.txt index b5857a8413a..da6ebf17a70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.22) -project(Cppcheck VERSION 2.21.99 LANGUAGES CXX) +project(Cppcheck VERSION 2.22.0 LANGUAGES CXX) include(cmake/options.cmake) diff --git a/Makefile b/Makefile index 5810fcc9aa3..7daecb20b9c 100644 --- a/Makefile +++ b/Makefile @@ -132,9 +132,11 @@ ifeq (clang++, $(findstring clang++,$(CXX))) CPPCHK_GLIBCXX_DEBUG= endif ifndef CXXFLAGS - CXXFLAGS=-pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-sign-compare -Wno-multichar -Woverloaded-virtual -g + CXXFLAGS=-O2 -Wall -Wno-sign-compare -Wno-multichar endif +override CPPFLAGS += -DNDEBUG + ifeq (g++, $(findstring g++,$(CXX))) override CXXFLAGS += -pipe endif @@ -396,7 +398,7 @@ dmake: tools/dmake/dmake.o cli/filelister.o $(libcppdir)/pathmatch.o $(libcppdir $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) run-dmake: dmake - ./dmake + ./dmake --release clean: rm -f build/*.cpp build/*.o lib/*.o cli/*.o frontend/*.o test/*.o tools/dmake/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1 diff --git a/cli/main.cpp b/cli/main.cpp index d1a635e1f6f..cc322d03086 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -20,7 +20,7 @@ /** * * @mainpage Cppcheck - * @version 2.21.99 + * @version 2.22.0 * * @section overview_sec Overview * Cppcheck is a simple tool for static analysis of C/C++ code. diff --git a/lib/version.h b/lib/version.h index 6d25dd4c158..ce437c3dd51 100644 --- a/lib/version.h +++ b/lib/version.h @@ -20,8 +20,8 @@ #ifndef versionH #define versionH -#define CPPCHECK_VERSION_STRING "2.22 dev" -#define CPPCHECK_VERSION 2,21,99,0 +#define CPPCHECK_VERSION_STRING "2.22.0" +#define CPPCHECK_VERSION 2,22,0,0 #define LEGALCOPYRIGHT L"Copyright (C) 2007-2026 Cppcheck team." diff --git a/man/manual.md b/man/manual.md index e1ccd7ad59c..4a864815671 100644 --- a/man/manual.md +++ b/man/manual.md @@ -1,6 +1,6 @@ --- title: Cppcheck manual -subtitle: Version 2.22 dev +subtitle: Version 2.22.0 author: Cppcheck team lang: en documentclass: report diff --git a/man/reference-cfg-format.md b/man/reference-cfg-format.md index f426057ab47..8e6abbeca90 100644 --- a/man/reference-cfg-format.md +++ b/man/reference-cfg-format.md @@ -1,6 +1,6 @@ --- title: Cppcheck .cfg format -subtitle: Version 2.22 dev +subtitle: Version 2.22.0 author: Cppcheck team lang: en documentclass: report diff --git a/man/writing-addons.md b/man/writing-addons.md index 2627671fa87..4f2e4d5a109 100644 --- a/man/writing-addons.md +++ b/man/writing-addons.md @@ -1,6 +1,6 @@ --- title: Writing addons -subtitle: Version 2.22 dev +subtitle: Version 2.22.0 author: Cppcheck team lang: en documentclass: report diff --git a/win_installer/productInfo.wxi b/win_installer/productInfo.wxi index 85e73ea3ca2..ccb067e6fa5 100644 --- a/win_installer/productInfo.wxi +++ b/win_installer/productInfo.wxi @@ -1,8 +1,8 @@ - + - +

AltStyle によって変換されたページ (->オリジナル) /