diff options
| author | Scott Tsai <scottt.tw@gmail.com> | 2009-03-21 08:17:41 +0800 |
|---|---|---|
| committer | Scott Tsai <scottt.tw@gmail.com> | 2009-03-21 08:17:41 +0800 |
| commit | eda65f5f60c01a6eb4f2e9e7ff79c59fe755c2f7 (patch) | |
| tree | 1a7778b5dfe19bab6a22cd0ea7ed554ed8dfcfda /samples/FixedGridLayout/src/com/example/android/fixedgridlayout/FixedGridLayoutTest.java | |
| parent | 0c4ee7741c94376599256f923c08dac18d090e97 (diff) | |
q2dm: correctly expect the return type of strchr(const char*) to be
'const char*' in C++ so that the code builds on gcc-4.4
ISO C++ overloads strchr() so that strchr(const char*) return 'const
char*' and strchr(char *) return 'char *'.
Since DmTrace::parseAndAddFunction really wants to write to its 'const
char *name' argument I just casted a pointer pointing inside of 'name' to 'char*'
Diffstat (limited to 'samples/FixedGridLayout/src/com/example/android/fixedgridlayout/FixedGridLayoutTest.java')
0 files changed, 0 insertions, 0 deletions
