Displaying 1 result from an estimated 1 matches for "__use_string_inlines".
2010 Feb 23
1
patch about compile R with clang
...-f conftest.$ac_objext
@@ -39480,6 +39481,7 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <wchar.h>
#include <wctype.h>
#ifdef F77_DUMMY_MAIN
2. edit tre-match-approx.c
change the following line
#define __USE_STRING_INLINES
#undef __NO_INLINE__
to
//#define __USE_STRING_INLINES
//#undef __NO_INLINE__
becasue clang will report errors(fields must have a constant size:'variable length array in structure' extension will never be supported' in string.h)