Menu

#1080 -DWITH_C_LOCALE compilation fails

v1.0 (example)
closed-fixed
None
5
2016-11-17
2016-11-15
No

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)

Discussion

  • Robert van Engelen

    Some older systems require xlocale.h so will include both.

     
  • Robert van Engelen

    • status: open --> open-fixed
     
  • Robert van Engelen

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.