SHA256
1
0
forked from pool/gsoap
gsoap/gsoap-02-implicit.diff

27 lines
924 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-01-24 15:41:51.682076375 +0100
build: resolve compiler warnings
stdsoap2_ck.c: In function soap_s2float:
stdsoap2_ck.c:14147:19: warning: implicit declaration of function strtod_l [-Wimplicit-function-declaration]
*p = (float)strtod_l(s, &r, SOAP_LOCALE(soap));
References: https://sourceforge.net/p/gsoap2/bugs/1096/
---
gsoap/stdsoap2.cpp | 1 +
1 file changed, 1 insertion(+)
Index: gsoap-2.8.42/gsoap/stdsoap2.cpp
===================================================================
--- gsoap-2.8.42.orig/gsoap/stdsoap2.cpp
+++ gsoap-2.8.42/gsoap/stdsoap2.cpp
@@ -50,6 +50,7 @@ compiling, linking, and/or using OpenSSL
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
+#define _GNU_SOURCE 1
#define GSOAP_LIB_VERSION 20842