[MacPorts] #67945: gnutls-devel 3.8.1 conflicts with legacy-support: benchmark.h: error: static declaration of 'gettime' follows non-static declaration
MacPorts
noreply at macports.org
Fri Aug 11 22:43:30 UTC 2023
#67945: gnutls-devel 3.8.1 conflicts with legacy-support: benchmark.h: error:
static declaration of 'gettime' follows non-static declaration
---------------------------+-------------------------
Reporter: barracuda156 | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: gnutls-devel |
---------------------------+-------------------------
Comment (by barracuda156):
{{{
In file included from benchmark-cipher.c:33:
./benchmark.h:38:20: error: static declaration of 'gettime' follows non-
static declaration
inline static void gettime(struct timespec *ts)
^
./gl/timespec.h:93:6: note: previous declaration is here
void gettime (struct timespec *) _GL_ARG_NONNULL ((1));
^
gnutls-serv-options.c:416:56: warning: result of comparison of constant
2147483648 with expression of type 'int' is always false [-Wtautological-
constant-out-of-range-compare]
if (HAVE_OPT(MAXEARLYDATA) && OPT_VALUE_MAXEARLYDATA > 2147483648)
~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
1 error generated.
}}}
Clang on 10.11:
https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/231541/steps
/install-port/logs/stdio
--
Ticket URL: <https://trac.macports.org/ticket/67945#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list