Skip to content

ACE doesn't compile on Android with wchar enabled #2415

@jwillemsen

Description

@jwillemsen

Looks ACE doesn't compile anymore on android with wchar enabled

/mnt/vcpkg-ci/b/ace/src/ACE-src-8-6ec4638c57.clean/ace/Log_Msg_Android_Logcat.cpp:68:3: error: no matching function for call to '__android_log_write'
   68 |   __android_log_write (
      |   ^~~~~~~~~~~~~~~~~~~
/android-ndk-r27c/toolchains/llvm/prebuilt/linux-x86_64/bin/../sysroot/usr/include/android/log.h:101:5: note: candidate function not viable: no known conversion from 'const ACE_TCHAR *' (aka 'const wchar_t *') to 'const char *' for 3rd argument
  101 | int __android_log_write(int prio, const char* tag, const char* text);
      |     ^                                              ~~~~~~~~~~~~~~~~

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions