Remove exceptions from s3fs_strtoofft

Explicit return codes are simpler and safer.
This commit is contained in:
Andrew Gaul
2020-10-02 10:23:56 +09:00
parent 757f4caee8
commit 3628b9d1e2
6 changed files with 47 additions and 51 deletions

View File

@ -33,7 +33,7 @@ AC_CHECK_HEADERS([sys/xattr.h])
AC_CHECK_HEADERS([attr/xattr.h])
AC_CHECK_HEADERS([sys/extattr.h])
CXXFLAGS="$CXXFLAGS -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
CXXFLAGS="$CXXFLAGS -Wall -fno-exceptions -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
dnl ----------------------------------------------
dnl For macOS