[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 35/36: autoinit_funcs.h: fixed warning on MSVC
From: |
gnunet |
Subject: |
[libmicrohttpd] 35/36: autoinit_funcs.h: fixed warning on MSVC |
Date: |
Thu, 01 Jun 2023 12:30:40 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 4d5f24f7df61fdc96aea7b370f1e8a2f81bb825c
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Fri May 26 20:30:09 2023 +0300
autoinit_funcs.h: fixed warning on MSVC
---
src/include/autoinit_funcs.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/include/autoinit_funcs.h b/src/include/autoinit_funcs.h
index de7556d0..0c2e47bd 100644
--- a/src/include/autoinit_funcs.h
+++ b/src/include/autoinit_funcs.h
@@ -67,7 +67,7 @@
* Current version of the header in packed BCD form.
* 0x01093001 = 1.9.30-1.
*/
-#define AUTOINIT_FUNCS_VERSION 0x01000900
+#define AUTOINIT_FUNCS_VERSION 0x01001000
#if defined(__GNUC__) || defined(__clang__)
/* if possible - check for supported attribute */
@@ -125,9 +125,10 @@
/* How variable is decorated by compiler */
#if (defined(_WIN32) || defined(_WIN64)) \
&& ! defined(_M_IX86) && ! defined(_X86_)
-#if ! defined(_M_X64) && ! defined(_M_AMD64) || ! defined(_x86_64_) \
+#if ! defined(_M_X64) && ! defined(_M_AMD64) && ! defined(_x86_64_) \
&& ! defined(_M_ARM) && ! defined(_M_ARM64)
-#warning Untested architecture, linker may fail with unresolved symbol
+#pragma message(__FILE__ "(" _STRMACRO(__LINE__) ") : warning AIFW001 : " \
+ "Untested architecture, linker may fail with unresolved symbol")
#endif /* ! _M_X64 && ! _M_AMD64 && ! _x86_64_ && ! _M_ARM && ! _M_ARM64 */
#define W32_VARDECORPREFIX
#define W32_DECORVARNAME(v) v
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 18/36: configure: fixed detection of __FUNCTION__ magic macro, (continued)
- [libmicrohttpd] 18/36: configure: fixed detection of __FUNCTION__ magic macro, gnunet, 2023/06/01
- [libmicrohttpd] 06/36: test_toolarge: fixed reported error description, gnunet, 2023/06/01
- [libmicrohttpd] 13/36: test_timeout: moved to heavy tests, gnunet, 2023/06/01
- [libmicrohttpd] 16/36: test_post: fixed caseless key name match, gnunet, 2023/06/01
- [libmicrohttpd] 19/36: Simplified usage of the function name magic macros, gnunet, 2023/06/01
- [libmicrohttpd] 23/36: .gitignore: force include all *.{c,h} files, gnunet, 2023/06/01
- [libmicrohttpd] 26/36: test_client_put_stop: fixed typo in diag message, gnunet, 2023/06/01
- [libmicrohttpd] 25/36: Detect sysctl() symbols in configure, gnunet, 2023/06/01
- [libmicrohttpd] 28/36: contrib/make-dist.sh: added use of zopfli if available, gnunet, 2023/06/01
- [libmicrohttpd] 29/36: daemon.c: redesigned code for clarity and formatting, gnunet, 2023/06/01
- [libmicrohttpd] 35/36: autoinit_funcs.h: fixed warning on MSVC,
gnunet <=
- [libmicrohttpd] 27/36: Added support for custom command for tarball compression, gnunet, 2023/06/01
- [libmicrohttpd] 15/36: examples/largepost.c: fixed caseless method match, gnunet, 2023/06/01
- [libmicrohttpd] 20/36: tests: unified use of function name macros, gnunet, 2023/06/01
- [libmicrohttpd] 21/36: Added internal preprocessor macro for magic macro presence, gnunet, 2023/06/01
- [libmicrohttpd] 30/36: Fixed compiler warning when built without poll() support, gnunet, 2023/06/01
- [libmicrohttpd] 31/36: Avoided potential compiler warnings, gnunet, 2023/06/01
- [libmicrohttpd] 32/36: Added macro for base64 decoded size, gnunet, 2023/06/01
- [libmicrohttpd] 36/36: W32 VS Project: fixed warning with external build systems, gnunet, 2023/06/01
- [libmicrohttpd] 34/36: W32 VS Project: minor internal fixes, fixed files for "dist", gnunet, 2023/06/01
- [libmicrohttpd] 33/36: W32 VS project: reverted to standard arches names, gnunet, 2023/06/01