File tree Expand file tree Collapse file tree 6 files changed +7
-6
lines changed
Expand file tree Collapse file tree 6 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- 9.4.42
1+ 9.4.43
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
2727 message (STATUS "Build type: ${CMAKE_BUILD_TYPE} " )
2828 execute_process (COMMAND ${CMAKE_C_COMPILER} -dumpversion
2929 OUTPUT_VARIABLE GCC_VERSION)
30- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D VERSION='\" ${PROJECT_VERSION} \" ' -s -pedantic -std=c17 -Wall -Wextra -Wno-strict-prototypes -Wunused-value -Wcast-align -Wundef -Wformat-security" )
30+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D VERSION='\" ${PROJECT_VERSION} \" ' -s -pedantic -std=c17 -Wall -Wextra -Wno-strict-prototypes -Wunused-value -Wcast-align -Wundef -Wformat -Wformat -security" )
3131
3232 if (GCC_VERSION VERSION_GREATER 4.8 OR GCC_VERSION VERSION_EQUAL 4.8)
3333 set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow" )
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ all: clean version format test tidy build rpm deb doc
7777# Test C code compatibility with C++
7878.PHONY : testcpp
7979testcpp :
80- find ./src/binsearch -type f -name ' *.h' -exec gcc -c -pedantic -Werror -Wall -Wextra -Wcast-align -Wundef -Wformat-security -std=c++14 -x c++ -o /dev/null {} \;
80+ find ./src/binsearch -type f -name ' *.h' -exec gcc -c -pedantic -Werror -Wall -Wextra -Wcast-align -Wundef -Wformat -Wformat -security -std=c++14 -x c++ -o /dev/null {} \;
8181
8282# Build and run the unit tests
8383.PHONY : test
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ PROJECT_NAME = "Binsearch"
3232# This could be handy for archiving the generated documentation or
3333# if some version control system is used.
3434
35- PROJECT_NUMBER = 9.4.42
35+ PROJECT_NUMBER = 9.4.43
3636
3737# Using the PROJECT_BRIEF tag one can provide an optional one line description
3838# for a project that appears at the top of each page and should give viewer
Original file line number Diff line number Diff line change 33package binsearch
44
55/*
6- #cgo CFLAGS: -O3 -pedantic -std=c99 -Wextra -Wno-strict-prototypes -Wcast-align -Wundef -Wformat-security -Wshadow
6+ #cgo CFLAGS: -O3 -pedantic -std=c99 -Wextra -Wno-strict-prototypes -Wcast-align -Wundef -Wformat -Wformat -security -Wshadow
77#include "../../c/src/binsearch/binsearch.h"
88*/
99import "C" //nolint:nolintlint,gci,typecheck
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def run(self):
3030
3131setup (
3232 name = "binsearch" ,
33- version = "9.4.42 .0" ,
33+ version = "9.4.43 .0" ,
3434 keywords = ("binsearch" ),
3535 description = "Binsearch Bindings for Python" ,
3636 long_description = read ("../README.md" ),
@@ -55,6 +55,7 @@ def run(self):
5555 "-Wunused-value" ,
5656 "-Wcast-align" ,
5757 "-Wundef" ,
58+ "-Wformat" ,
5859 "-Wformat-security" ,
5960 "-Wshadow" ,
6061 "-I../src/binsearch" ,
You can’t perform that action at this time.
0 commit comments