[gnutls-devel] GnuTLS | Fails to build with clang on Windows (gettime conflict) (#1497)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Aug 15 10:38:43 CEST 2023
Christoph Reiter created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1497
Building 3.8.1 I get:
```c
In file included from ../../gnutls-3.8.1/src/cli.c:65:
../../gnutls-3.8.1/src/benchmark.h:38:20: error: static declaration of 'gettime' follows non-static declaration
inline static void gettime(struct timespec *ts)
^
../../gnutls-3.8.1/src/gl/timespec.h:93:6: note: previous declaration is here
void gettime (struct timespec *) _GL_ARG_NONNULL ((1));
^
```
3.8.0 builds fine; gcc also works (it seems to provide a clock_gettime() somehow..)
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1497
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230815/f325c603/attachment.html>
More information about the Gnutls-devel
mailing list