Project

General

Profile

Actions

Bug #55

closed

No ISO C99 support in <stdlib.h>

Added by Dmitry M. about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Alexander Z.
Category:
-
Target version:
Start date:
01/08/2013
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX NDK Version:

Description

configure:17458: checking for ISO C99 support in
configure:17562: /home/crystax/work/ndk/platform/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -o conftest --sysroot=/home/crystax/work/ndk/platform/ndk/platforms/android-9/arch-arm -I/tmp/ndk-crystax/tmp/build-7671/build-gnustl/4.4.3/static-armeabi-4.4.3/libcrystax/include -fexceptions -frtti -D_BIONIC_ -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++98 -fno-exceptions -L/home/crystax/work/ndk/platform/ndk/platforms/android-9/arch-arm/usr/lib -L/tmp/ndk-crystax/tmp/build-7671/build-gnustl/4.4.3/static-armeabi-4.4.3/libcrystax/lib -lcrystax -lstdc++ -llog -lm -lc conftest.cc -lm >&5
conftest.cc: In function 'int main()':
conftest.cc:43: error: 'strtold' was not declared in this scope
conftest.cc:51: error: '_Exit' was not declared in this scope
configure:17568: $? = 1
configure: failed program was:
| /* confdefs.h. /
|
| #define PACKAGE_NAME "package-unused"
| #define PACKAGE_TARNAME "libstdc++"
| #define PACKAGE_VERSION "version-unused"
| #define PACKAGE_STRING "package-unused version-unused"
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define _GLIBCXX_HOSTED 1
| #define HAVE_GTHR_DEFAULT 1
| #define HAVE_STRERROR_R 1
| #define _GLIBCXX_USE_LONG_LONG 1
| #define HAVE_WCHAR_H 1
| #define HAVE_MBSTATE_T 1
| #define HAVE_WCTYPE_H 1
| #define _GLIBCXX_USE_WCHAR_T 1
| #define _GLIBCXX_USE_C99_MATH 1
| /
end confdefs.h. /
| #include
| volatile float f;
| volatile long double ld;
| volatile unsigned long long ll;
| lldiv_t mydivt;
| int
| main ()
| {
| char
tmp;
| f = strtof("gnu", &tmp);
| ld = strtold("gnu", &tmp);
| ll = strtoll("gnu", &tmp, 10);
| ll = strtoull("gnu", &tmp, 10);
| ll = llabs(10);
| mydivt = lldiv(10,1);
| ll = mydivt.quot;
| ll = mydivt.rem;
| ll = atoll("10");
| _Exit(0);
|
| ;
| return 0;
| }
configure:17596: result: no

Actions #1

Updated by Alexander Z. about 11 years ago

  • Assignee changed from Dmitry M. to Alexander Z.
Actions #2

Updated by Dmitry M. about 11 years ago

  • Target version set to r8-crystax-1
Actions #3

Updated by Alexander Z. about 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Done.

Actions

Also available in: Atom PDF