Skip to content

Commit 73e8590

Browse files
committed
Fix minor warnings
1 parent 143b717 commit 73e8590

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.4.42
1+
9.4.43

c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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")

c/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
7979
testcpp:
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

c/doc/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

go/src/binsearch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package 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
*/
99
import "C" //nolint:nolintlint,gci,typecheck

python/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def run(self):
3030

3131
setup(
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",

0 commit comments

Comments
 (0)