compilation errors introduced in the following commit.
commit 0cd69562fd
Author: ctiller <ctiller@google.com>
Date: Fri Jan 9 14:22:10 2015 -0800
Allow logging mechanism to be overridden by applications.
This necessitated the removal of gpr_vlog to keep a clean interface.
Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634996
Errors are:
grpc/src/core/support/log_android.c:75:20: error: 'file' undeclared (first use in this function)
display_file = file;
^
grpc/src/core/support/log_android.c:75:20: note: each undeclared identifier is reported only once for each function it appears in
grpc/src/core/support/log_android.c:79:13: error: 'prefix' undeclared (first use in this function)
asprintf(&prefix, "%s:%d] %s", display_file, args->line, args->message);
^
grpc/src/core/support/log_android.c:85:8: error: 'suffix' undeclared (first use in this function)
free(suffix);
^
This introduces the wakeup fd interface, corresponding approximately to
the existing Google version, complete with a ported giant detailed usage
comment.
The implementation has two layers, "specialized" and "fallback". The
specialized layer is intended to be a suitable platform specific
implementation like eventfd, whereas "fallback" is probably pipe, with
runtime detection of whether the specialized version works on this
system (currently stubbed out).