Skip to content

fixup compile error in log_android.c#250

Merged
ctiller merged 1 commit intogrpc:masterfrom
toddpoynor:android-fix
Jan 28, 2015
Merged

fixup compile error in log_android.c#250
ctiller merged 1 commit intogrpc:masterfrom
toddpoynor:android-fix

Conversation

@toddpoynor
Copy link
Copy Markdown
Contributor

No description provided.

compilation errors introduced in the following commit.

commit 0cd6956
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);
        ^
ctiller added a commit that referenced this pull request Jan 28, 2015
fixup compile error in log_android.c
@ctiller ctiller merged commit b2e735c into grpc:master Jan 28, 2015
@ctiller ctiller deleted the android-fix branch January 28, 2015 00:52
stanley-cheung pushed a commit to stanley-cheung/grpc that referenced this pull request Aug 27, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants