Compiling Android 9 with sdclang so errors

42 views
Skip to first unread message

乾纱凪

unread,
Dec 8, 2019, 7:30:14 PM12/8/19
to android-platform


In file included from system/netd/server/DnsProxyListener.cpp:50:
In file included from system/netd/server/Controllers.h:34:
In file included from system/netd/server/TrafficController.h:24:
In file included from system/netd/server/NetlinkListener.h:28:
system/netd/libnetdutils/include/netdutils/UniqueFd.h:60:11: error: cannot specify any part of a return type in the declaration of a conversion function; put the complete type after ‘operator’
const operator Fd() const { return mFd; }
^~~~~~~~
1 error generated.
[ 69% 61870/89636] target C++: netd <= system/netd/server/EventReporter.cpp
ninja: build stopped: subcommand failed.
21:59:05 ninja failed with: exit status 1
Reply all
Reply to author
Forward
0 new messages