Issue: 940. Compiler warnings. Really should fix the mess concerning str_error_r in autotools and CMake in the config directory.
This commit is contained in:
parent
cea66bdd78
commit
4adddce153
@ -95,9 +95,11 @@ namespace Exiv2 {
|
||||
#if ( _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 ) && ! _GNU_SOURCE
|
||||
// XSI-compliant version of strerror_r() is provided
|
||||
#else
|
||||
#ifdef __clang6__
|
||||
#define STRERROR_R_CHAR_P
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
std::string strError()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user