[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 241/411: src/tool_filetime: disable -Wformat on mingw for this f
From: |
gnunet |
Subject: |
[gnurl] 241/411: src/tool_filetime: disable -Wformat on mingw for this file |
Date: |
Wed, 13 Jan 2021 01:20:56 +0100 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 7c88fe375b15c44d77bccc9ab733b8069d228e6f
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Thu Oct 15 10:14:10 2020 +0200
src/tool_filetime: disable -Wformat on mingw for this file
With gcc 10 on mingw we otherwise get this warning:
error: ISO C does not support the 'I' printf flag [-Werror=format=]
Fixes #6079
Closes #6082
---
src/tool_filetime.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/tool_filetime.c b/src/tool_filetime.c
index 1ffc981fe..bc0132b0c 100644
--- a/src/tool_filetime.c
+++ b/src/tool_filetime.c
@@ -29,6 +29,11 @@
# include <sys/utime.h>
#endif
+#if defined(__GNUC__) && defined(__MINGW32__)
+/* GCC 10 on mingw has issues with this, disable */
+#pragma GCC diagnostic ignored "-Wformat"
+#endif
+
curl_off_t getfiletime(const char *filename, FILE *error_stream)
{
curl_off_t result = -1;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnurl] 139/411: tool_writeout: add new writeout variable, %{num_headers}, (continued)
- [gnurl] 139/411: tool_writeout: add new writeout variable, %{num_headers}, gnunet, 2021/01/12
- [gnurl] 182/411: ftp: separate FTPS from FTP over "HTTPS proxy", gnunet, 2021/01/12
- [gnurl] 197/411: configure: use "no" instead of "disabled" for the end summary, gnunet, 2021/01/12
- [gnurl] 232/411: CI/tests: use verification curl for test reporting APIs, gnunet, 2021/01/12
- [gnurl] 233/411: strerror: Revert to local codepage for Windows error string, gnunet, 2021/01/12
- [gnurl] 226/411: mbedtls: add missing header when defining MBEDTLS_DEBUG, gnunet, 2021/01/12
- [gnurl] 159/411: CHECKSRC: document two missing warnings, gnunet, 2021/01/12
- [gnurl] 133/411: curl: make file2memory use dynbuf, gnunet, 2021/01/12
- [gnurl] 154/411: man pages: switch to https://example.com URLs, gnunet, 2021/01/12
- [gnurl] 259/411: packages/OS400: make the source code-style compliant, gnunet, 2021/01/12
- [gnurl] 241/411: src/tool_filetime: disable -Wformat on mingw for this file,
gnunet <=
- [gnurl] 132/411: curl: make file2string use dynbuf, gnunet, 2021/01/12
- [gnurl] 180/411: pingpong: use a dynbuf for the *_pp_sendf() function, gnunet, 2021/01/12
- [gnurl] 143/411: test3015: verify stdout "as text", gnunet, 2021/01/12
- [gnurl] 150/411: multi: align WinSock mask variables in Curl_multi_wait, gnunet, 2021/01/12
- [gnurl] 145/411: CI/azure: disable test 571 in the msys2 builds, gnunet, 2021/01/12
- [gnurl] 163/411: docs/RESOURCES: remove, gnunet, 2021/01/12
- [gnurl] 169/411: krb5: merged security.c and krb specific FTP functions in here, gnunet, 2021/01/12
- [gnurl] 179/411: dynbuf: add Curl_dyn_vaddf, gnunet, 2021/01/12
- [gnurl] 137/411: vtls: deduplicate client certificates in ssl_config_data, gnunet, 2021/01/12
- [gnurl] 196/411: TODO: SSH over HTTPS proxy with more backends, gnunet, 2021/01/12