Skip to content

Commit 0b51c68

Browse files
author
Tomoaki Nishiyama
committed
add void for function declaration parameter in configure script
1 parent 5eed800 commit 0b51c68

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

RPostgreSQL/ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-01-11 Tomoaki NISHIYAMA <tomoakin@staff.kanazawa-u.ac.jp>
2+
* Supply (void) for a testprogram in configure.ac for warning by clang
3+
14
2024-01-10 Tomoaki NISHIYAMA <tomoakin@staff.kanazawa-u.ac.jp>
25
* Fix partial match warning #132
36
* Suppress warnings on win-devel

RPostgreSQL/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: RPostgreSQL
22
Version: 0.7-6
3-
Date: 2024-01-10
3+
Date: 2024-01-11
44
Title: R Interface to the 'PostgreSQL' Database System
55
Author: Joe Conway, Dirk Eddelbuettel, Tomoaki Nishiyama, Sameer Kumar Prayaga (during 2008), Neil Tiffin
66
Maintainer: Tomoaki Nishiyama <tomoakin@staff.kanazawa-u.ac.jp>

RPostgreSQL/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
19921992
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19931993

19941994
echo '#include <libpq-fe.h>' > conftest.c
1995-
echo 'int main(void);int main(){printf("%i...",PQlibVersion());return 0;}' >> conftest.c
1995+
echo 'int main(void);int main(void){printf("%i...",PQlibVersion());return 0;}' >> conftest.c
19961996
echo $CC $CFLAGS -I${PG_INCDIR} -L${PG_LIBDIR} conftest.c -lpq -o pqconftest
19971997
$CC $CFLAGS -I${PG_INCDIR} -L${PG_LIBDIR} conftest.c -lpq -o pqconftest
19981998
echo ./pqconftest

RPostgreSQL/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ clean:
130130

131131
AC_LANG(C)
132132
echo '#include <libpq-fe.h>' > conftest.c
133-
echo 'int main(void);int main(){printf("%i...",PQlibVersion());return 0;}' >> conftest.c
133+
echo 'int main(void);int main(void){printf("%i...",PQlibVersion());return 0;}' >> conftest.c
134134
echo $CC $CFLAGS -I${PG_INCDIR} -L${PG_LIBDIR} conftest.c -lpq -o pqconftest
135135
$CC $CFLAGS -I${PG_INCDIR} -L${PG_LIBDIR} conftest.c -lpq -o pqconftest
136136
echo ./pqconftest

RPostgreSQL/inst/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Version 0.7-6
2-
o Fix bug found by warnings and suppress other nonsesical warnings
2+
o Fix bugs found by warnings and suppress other nonsesical warnings
33
o Fix partial match warning #132
44
o exclude dropped column from column listing #130
55

0 commit comments

Comments
 (0)