Description__FUNCTION__ cannot concatenate with constant strings in all compilers.
According to http://www.delorie.com/gnu/docs/gcc/gcc_78.html (bottom),
The identifier __FUNCTION__ is implicitly declared by the translator
as if, immediately following the opening brace of each function
definition, the declaration
static const char __FUNCTION__[] = "function-name";
So use an explicit << instead of relying on string constant concatenation.
BUG=82385
R=cpu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279564
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|