where is possible to send bug reports?
Pavel Stehule <[email protected]> Thu, 11 Sep 2025 07:31:05 +0200
| Newsgroups | gmane.comp.sysutils.autoconf.archive-maintainers |
|---|---|
| Message-ID | <CAFj8pRCoQ4i0TCxUX740g9ZTv_x_hvUWzz2Tpp7=1957zioKfQ@mail.gmail.com> |
--000000000000213791063e7fdacb
Content-Type: text/plain; charset="UTF-8"
Hi
I found a bug in ax_lib_postgresql
The ax_lib_postgresql can use pg_config for selecting PostgreSQL clients
devel files. But there is a problem in using the option `--cflags`. This
option is related to build of PostgreSQL server (not client).
In `libpq.pc` is `cflags` `Cflags: -I${includedir}`
but the `cflags` from `pg_config` is:
`-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute
-Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local
-Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing
-fwrapv -fexcess-precision=standard -Wno-format-truncation
-Wno-stringop-truncation -g -Wimplicit-function-declaration -Wall
-Wmissing-prototypes -Werror=return-type -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv
-Wno-unused-command-line-argument -O2`
It is unrelated to client
Regards
Pavel Stehule
--000000000000213791063e7fdacb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Hi</div><div><br></div><div>I found a bug in=C2=A0ax_=
lib_postgresql</div><div><br></div><div>The ax_lib_postgresql can use pg_co=
nfig for selecting PostgreSQL clients
devel files. But there is a problem in using the option `--cflags`.=20
This option is related to build of PostgreSQL server (not client).
<br>
<br>
In `libpq.pc` is `cflags` `Cflags: -I${includedir}`
<br>
<br>
but the `cflags` from `pg_config` is:
<br>
<br>
`-Wall -Wmissing-prototypes -Wpointer-arith=20
-Wdeclaration-after-statement -Werror=3Dvla -Wendif-labels=20
-Wmissing-format-attribute -Wimplicit-fallthrough=3D3 -Wcast-function-type
-Wshadow=3Dcompatible-local -Wformat-security=20
-Wmissing-variable-declarations -fno-strict-aliasing -fwrapv=20
-fexcess-precision=3Dstandard -Wno-format-truncation=20
-Wno-stringop-truncation -g=C2=A0 -Wimplicit-function-declaration -Wall=20
-Wmissing-prototypes -Werror=3Dreturn-type -Wpointer-arith=20
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute=20
-Wformat-security -fno-strict-aliasing -fwrapv=20
-Wno-unused-command-line-argument -O2`
<br>
<br>It is unrelated to client</div><div>Regards</div><div><br></div><div>Pa=
vel Stehule=C2=A0<br></div><div><br></div></div>
--000000000000213791063e7fdacb--