This commit is contained in:
@@ -442,7 +442,7 @@
|
|||||||
GCC_WARN_UNUSED_VALUE = YES;
|
GCC_WARN_UNUSED_VALUE = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
HEADER_SEARCH_PATHS = ../include;
|
HEADER_SEARCH_PATHS = ../include;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.15;
|
MACOSX_DEPLOYMENT_TARGET = 11.5;
|
||||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
@@ -557,7 +557,7 @@
|
|||||||
GCC_WARN_UNUSED_VALUE = YES;
|
GCC_WARN_UNUSED_VALUE = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
HEADER_SEARCH_PATHS = ../include;
|
HEADER_SEARCH_PATHS = ../include;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.15;
|
MACOSX_DEPLOYMENT_TARGET = 11.5;
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
OTHER_LDFLAGS = "-liconv";
|
OTHER_LDFLAGS = "-liconv";
|
||||||
|
|||||||
@@ -207,13 +207,12 @@
|
|||||||
#define _Unreferenced_(x) (void)(x)
|
#define _Unreferenced_(x) (void)(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _countof
|
||||||
template <class T, size_t N>
|
#ifdef ARRAY_SIZE
|
||||||
size_t _countof(const T (&arr)[N])
|
#define _countof ARRAY_SIZE
|
||||||
{
|
#else
|
||||||
_Unreferenced_(arr);
|
#define _countof(a) (sizeof(a) / sizeof((a)[0]))
|
||||||
return std::extent<T[N]>::value;
|
#endif
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _Analysis_assume_
|
#ifndef _Analysis_assume_
|
||||||
@@ -317,11 +316,11 @@ namespace std
|
|||||||
const char_type* do_scan_is(mask m, const char_type* low, const char_type* high) const;
|
const char_type* do_scan_is(mask m, const char_type* low, const char_type* high) const;
|
||||||
const char_type* do_scan_not(mask m, const char_type* low, const char_type* high) const;
|
const char_type* do_scan_not(mask m, const char_type* low, const char_type* high) const;
|
||||||
|
|
||||||
char_type do_toupper(char_type c) const { return m_ctypew.toupper(c); }
|
char_type do_toupper(char_type c) const { return static_cast<char_type>(m_ctypew.toupper(c)); }
|
||||||
|
|
||||||
const char_type* do_toupper(char_type* low, const char_type* high) const;
|
const char_type* do_toupper(char_type* low, const char_type* high) const;
|
||||||
|
|
||||||
char_type do_tolower(char_type c) const { return m_ctypew.tolower(c); }
|
char_type do_tolower(char_type c) const { return static_cast<char_type>(m_ctypew.tolower(c)); }
|
||||||
|
|
||||||
const char_type* do_tolower(char_type* low, const char_type* high) const;
|
const char_type* do_tolower(char_type* low, const char_type* high) const;
|
||||||
char_type do_widen(char) const;
|
char_type do_widen(char) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user