Skip to content

Commit

Permalink
Disable -fanalyzer option; it's still broken. (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtv authored Dec 22, 2024
1 parent d280c6c commit a409278
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 17 deletions.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
7.10.1
- Remove `-fanalyzer` option again; gcc is still broken.
7.10.0
- Deprecate `errorhandler`; replace with lambda-friendly "notice handlers."
- Deprecate `notification_receiver`; replace with "notification handlers"
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.10.0
7.10.1
26 changes: 14 additions & 12 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for libpqxx 7.10.0.
# Generated by GNU Autoconf 2.71 for libpqxx 7.10.1.
#
# Report bugs to <Jeroen T. Vermeulen>.
#
Expand Down Expand Up @@ -621,8 +621,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libpqxx'
PACKAGE_TARNAME='libpqxx'
PACKAGE_VERSION='7.10.0'
PACKAGE_STRING='libpqxx 7.10.0'
PACKAGE_VERSION='7.10.1'
PACKAGE_STRING='libpqxx 7.10.1'
PACKAGE_BUGREPORT='Jeroen T. Vermeulen'
PACKAGE_URL=''

Expand Down Expand Up @@ -1381,7 +1381,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures libpqxx 7.10.0 to adapt to many kinds of systems.
\`configure' configures libpqxx 7.10.1 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1452,7 +1452,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of libpqxx 7.10.0:";;
short | recursive ) echo "Configuration of libpqxx 7.10.1:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1576,7 +1576,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
libpqxx configure 7.10.0
libpqxx configure 7.10.1
generated by GNU Autoconf 2.71

Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1951,7 +1951,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libpqxx $as_me 7.10.0, which was
It was created by libpqxx $as_me 7.10.1, which was
generated by GNU Autoconf 2.71. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3446,7 +3446,7 @@ fi

# Define the identity of the package.
PACKAGE='libpqxx'
VERSION='7.10.0'
VERSION='7.10.1'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
Expand Down Expand Up @@ -17135,9 +17135,11 @@ then

# "Iffy" g++ options. Some reasonably current g++-like
# compilers may not support these.
# The -fanalyzer one is a macro option for many of the others.
#
# The -fanalyzer one is a macro option for many of the others,
# but we can't use it because as of gcc 13.2.0 we still see it
# generating errors for the standard library.
add_compiler_opts_if_ok \
-fanalyzer \
-Wanalyzer-double-fclose \
-Wanalyzer-double-free \
-Wanalyzer-exposure-through-output-file \
Expand Down Expand Up @@ -19311,7 +19313,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by libpqxx $as_me 7.10.0, which was
This file was extended by libpqxx $as_me 7.10.1, which was
generated by GNU Autoconf 2.71. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -19379,7 +19381,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
libpqxx config.status 7.10.0
libpqxx config.status 7.10.1
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"

Expand Down
6 changes: 4 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@ then

# "Iffy" g++ options. Some reasonably current g++-like
# compilers may not support these.
# The -fanalyzer one is a macro option for many of the others.
#
# The -fanalyzer one is a macro option for many of the others,
# but we can't use it because as of gcc 13.2.0 we still see it
# generating errors for the standard library.
add_compiler_opts_if_ok \
-fanalyzer \
-Wanalyzer-double-fclose \
-Wanalyzer-double-free \
-Wanalyzer-exposure-through-output-file \
Expand Down
2 changes: 1 addition & 1 deletion include/pqxx/doc/mainpage.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
libpqxx {#mainpage}
=======

@version 7.10.0
@version 7.10.1
@author Jeroen T. Vermeulen
@see https://pqxx.org/libpqxx/
@see https://github.com/jtv/libpqxx
Expand Down
2 changes: 1 addition & 1 deletion include/pqxx/version.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# endif

/// Full libpqxx version string.
# define PQXX_VERSION "7.10.0"
# define PQXX_VERSION "7.10.1"
/// Library ABI version.
# define PQXX_ABI "7.10"

Expand Down

0 comments on commit a409278

Please sign in to comment.