summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorSteve Fung <stevefung@google.com>2015-08-07 13:22:46 -0700
committerSteve Fung <stevefung@google.com>2015-08-10 15:10:32 -0700
commit8bafb3da8fe46993f995054ec84c75f82e6bb2d8 (patch)
treed8c16dd88816775a684edd23d1f36d1bfde8c19d /base/errors_unix.cpp
parentc8b741428caeb01f7aca3c4c199e5f6894d335f8 (diff)
crash_reporter: Fix initial compile issues with Android toolchain
Fix some issues to get crash_reporter to compile on Android. C++ source: * bits/wordsize.h is used for __WORDSIZE, but is unavailable for most Android toolchain architectures. It instead is available in sys/cdefs.h Flex source: * The Flex compiler toolchain doesn't link against the default fl library using -lfl. Thus there is no yywrap() function defined. Since the default fl library implementation just returns 1 (true), instead add a directive to disable yywrap. * The index(..) function has been deprecated in favor of strchr(..) * Add a directive to disable the "deprecated conversion from string constant to 'char*'" warning in the generated code. * Remove warning suppression for the input() function which doesn't get generated with Flex v2.5.39 and the arguments passed in the build command. Bug: 22874187 Change-Id: I6d7dcf5f801010aeae06db9f0628a6652ee269ee
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions