Project

General

Profile

Actions

Bug #719

closed

After enabling full C99 support in GNU libstdc++, clang-based toolchains fail to build C++ code which include some standard C++ headers

Added by Dmitry M. over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
build
Target version:
Start date:
10/10/2014
Due date:
% Done:

100%

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

Description

Here is error:

In file included from jni/main.cpp:6:
In file included from /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/iostream:39:
In file included from /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/ostream:38:
In file included from /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/ios:42:
In file included from /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/ios_base.h:41:
In file included from /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/locale_classes.h:40:
In file included from /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/string:52:
/Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/basic_string.h:2850:12: error: no matching function for call to 'stoa'
{ return __gnu_cxx::
stoa(&std::strtof, "stof", str.c_str(), __idx); }
~~~~~~~~~~~~~~~~
/Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include/ext/string_conversions.h:54:5: note: candidate template ignored: substitution failure [with _TRet = float, _Ret = f
loat, _CharT = char, _Base = <>]
__stoa(_TRet (*
convf) (const _CharT*, _CharT**, _Base...),
^

Actions #1

Updated by Dmitry M. over 9 years ago

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

Also available in: Atom PDF