Status: New
Owner: ----

New issue 3506 by [email protected]: Android compile error: 'wcslen' is not a member of 'std'
http://code.google.com/p/v8/issues/detail?id=3506

Version:
github trunk 458250912cd26f46f790094ce0cc21276bffae66


Step:

wget -q http://dl.google.com/android/ndk/android-ndk32-r10-linux-x86_64.tar.bz2
tar -xjf android-ndk32-r10-linux-x86_64.tar.bz2
export ANDROID_NDK_ROOT=${PWD}/android-ndk-r10

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=`pwd`/depot_tools:"$PATH"

git clone git://github.com/v8/v8.git
cd v8
make dependencies
make android_arm.release


Error:

../testing/gtest/src/gtest-printers.cc: In function 'void testing::internal::PrintTo(const wchar_t*, std::ostream*)': ../testing/gtest/src/gtest-printers.cc:342:29: error: 'wcslen' is not a member of 'std'
     PrintCharsAsStringTo(s, std::wcslen(s), os);
                             ^
../testing/gtest/src/gtest-printers.cc:342:29: note: suggested alternative:
In file included from /jenkins/jenkins/jobs/codelog.v8/workspace/android-ndk-r10/sources/cxx-stl/stlport//stlport/stl/_cwchar.h:68:0, from /jenkins/jenkins/jobs/codelog.v8/workspace/android-ndk-r10/sources/cxx-stl/stlport//stlport/stl/_locale.h:31, from /jenkins/jenkins/jobs/codelog.v8/workspace/android-ndk-r10/sources/cxx-stl/stlport//stlport/stl/_ios_base.h:30, from /jenkins/jenkins/jobs/codelog.v8/workspace/android-ndk-r10/sources/cxx-stl/stlport//stlport/stl/_ios.h:23, from /jenkins/jenkins/jobs/codelog.v8/workspace/android-ndk-r10/sources/cxx-stl/stlport//stlport/stl/_ostream.h:24, from /jenkins/jenkins/jobs/codelog.v8/workspace/android-ndk-r10/sources/cxx-stl/stlport//stlport/ostream:31,
                 from ../testing/gtest/include/gtest/gtest-printers.h:98,
                 from ../testing/gtest/src/gtest-printers.cc:45:
/jenkins/jenkins/jobs/codelog.v8/workspace/android-ndk-r10/platforms/android-14/arch-arm/usr/include/../include/wchar.h:115:26: note: 'wcslen'
 extern size_t            wcslen(const wchar_t *);


Test project:
https://github.com/luzi82/codelog.v8/
run ci.sh


Attachments:
        consoleText.txt  797 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to