Enable ISO-C99 compatibility -- among other things, this tells libstdc++
not to blindly undef isnan() and other functions that became macros in C99. Enable use of newly grown C99 functions: strtof(), strtold(), wcstof() Submitted by: das
This commit is contained in:
parent
73c294fd8b
commit
7af330a71c
@ -101,7 +101,7 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
|
|||||||
#define _GLIBCPP_USE_LONG_LONG 1
|
#define _GLIBCPP_USE_LONG_LONG 1
|
||||||
|
|
||||||
// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
|
// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
|
||||||
/* #undef _GLIBCPP_USE_C99 */
|
#define _GLIBCPP_USE_C99 1
|
||||||
|
|
||||||
// Define if code specialized for wchar_t should be used.
|
// Define if code specialized for wchar_t should be used.
|
||||||
/* #undef _GLIBCPP_USE_WCHAR_T */
|
/* #undef _GLIBCPP_USE_WCHAR_T */
|
||||||
@ -649,10 +649,10 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
|
|||||||
/* #undef _GLIBCPP_HAVE_SQRTL */
|
/* #undef _GLIBCPP_HAVE_SQRTL */
|
||||||
|
|
||||||
/* Define if you have the strtof function. */
|
/* Define if you have the strtof function. */
|
||||||
/* #undef _GLIBCPP_HAVE_STRTOF */
|
#define _GLIBCPP_HAVE_STRTOF 1
|
||||||
|
|
||||||
/* Define if you have the strtold function. */
|
/* Define if you have the strtold function. */
|
||||||
/* #undef _GLIBCPP_HAVE_STRTOLD */
|
#define _GLIBCPP_HAVE_STRTOLD 1
|
||||||
|
|
||||||
/* Define if you have the swprintf function. */
|
/* Define if you have the swprintf function. */
|
||||||
#define _GLIBCPP_HAVE_SWPRINTF 1
|
#define _GLIBCPP_HAVE_SWPRINTF 1
|
||||||
@ -748,7 +748,7 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
|
|||||||
#define _GLIBCPP_HAVE_WCSTOD 1
|
#define _GLIBCPP_HAVE_WCSTOD 1
|
||||||
|
|
||||||
/* Define if you have the wcstof function. */
|
/* Define if you have the wcstof function. */
|
||||||
/* #undef _GLIBCPP_HAVE_WCSTOF */
|
#define _GLIBCPP_HAVE_WCSTOF 1
|
||||||
|
|
||||||
/* Define if you have the wcstok function. */
|
/* Define if you have the wcstok function. */
|
||||||
#define _GLIBCPP_HAVE_WCSTOK 1
|
#define _GLIBCPP_HAVE_WCSTOK 1
|
||||||
@ -832,7 +832,7 @@ libstdc++-v3/include/bits/c++config before full recompilation of the library.
|
|||||||
#define _GLIBCPP_HAVE_SYS_RESOURCE_H 1
|
#define _GLIBCPP_HAVE_SYS_RESOURCE_H 1
|
||||||
|
|
||||||
/* Define if you have the <sys/stat.h> header file. */
|
/* Define if you have the <sys/stat.h> header file. */
|
||||||
/* #undef _GLIBCPP_HAVE_SYS_STAT_H */
|
#define _GLIBCPP_HAVE_SYS_STAT_H 1
|
||||||
|
|
||||||
/* Define if you have the <sys/types.h> header file. */
|
/* Define if you have the <sys/types.h> header file. */
|
||||||
#define _GLIBCPP_HAVE_SYS_TYPES_H 1
|
#define _GLIBCPP_HAVE_SYS_TYPES_H 1
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#define _GLIBCPP_USE_LONG_LONG 1
|
#define _GLIBCPP_USE_LONG_LONG 1
|
||||||
|
|
||||||
// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
|
// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
|
||||||
/* #undef _GLIBCPP_USE_C99 */
|
#define _GLIBCPP_USE_C99 1
|
||||||
|
|
||||||
// Define if code specialized for wchar_t should be used.
|
// Define if code specialized for wchar_t should be used.
|
||||||
/* #undef _GLIBCPP_USE_WCHAR_T */
|
/* #undef _GLIBCPP_USE_WCHAR_T */
|
||||||
@ -561,10 +561,10 @@
|
|||||||
/* #undef HAVE_SQRTL */
|
/* #undef HAVE_SQRTL */
|
||||||
|
|
||||||
/* Define if you have the strtof function. */
|
/* Define if you have the strtof function. */
|
||||||
/* #undef HAVE_STRTOF */
|
#define HAVE_STRTOF 1
|
||||||
|
|
||||||
/* Define if you have the strtold function. */
|
/* Define if you have the strtold function. */
|
||||||
/* #undef HAVE_STRTOLD */
|
#define HAVE_STRTOLD 1
|
||||||
|
|
||||||
/* Define if you have the swprintf function. */
|
/* Define if you have the swprintf function. */
|
||||||
#define HAVE_SWPRINTF 1
|
#define HAVE_SWPRINTF 1
|
||||||
@ -660,7 +660,7 @@
|
|||||||
#define HAVE_WCSTOD 1
|
#define HAVE_WCSTOD 1
|
||||||
|
|
||||||
/* Define if you have the wcstof function. */
|
/* Define if you have the wcstof function. */
|
||||||
/* #undef HAVE_WCSTOF */
|
#define HAVE_WCSTOF 1
|
||||||
|
|
||||||
/* Define if you have the wcstok function. */
|
/* Define if you have the wcstok function. */
|
||||||
#define HAVE_WCSTOK 1
|
#define HAVE_WCSTOK 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user