-DWITH_C_LOCALE compilation fails
Development toolkit for Web Services and XML data bindings for C & C++
Brought to you by:
engelen
Building gsoap 2.8.37 with -DWITH_C_LOCALE fails, because xlocale.h
does not contain the definition for LC_ALL_MASK
. That seems to be located in locale.h
instead on glibc.
[ 79s] stdsoap2.c: In function 'soap_s2float': [ 79s] stdsoap2.c:14073:35: error: 'LC_ALL_MASK' undeclared (first use in this function) [ 79s] stdsoap2.c:14073:35: note: each undeclared identifier is reported only once for each function it appears in [ 79s] stdsoap2.c: In function 'soap_s2double': [ 79s] stdsoap2.c:14240:28: error: 'LC_ALL_MASK' undeclared (first use in this function)
Some older systems require
xlocale.h
so will include both.