Issue 42002: Breakpad DWARF parser: avoid using <stdint.h> type

It seems that a use of the <stdint.h> type uintptr_t has crept into
the DWARF parser. This defines a workaround for the GNU compilers
(tested on both Mac and Linux) which will raise an error if it doesn't
work.

My personal preference would be just to assume that the <stdint.h>
header is available and use the standard types everywhere, but 1) that
would be a large change, likely to make merges with the other branches
of the DWARF parser more difficult, and 2) it would make it quite
difficult to build under Microsoft Visual Studio, which doesn't have
the <stdint.h> header; Microsoft has said they have no plans to
provide it, as they would rather "focus their efforts" on C++ and
.NET.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@448 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
jimblandy@gmail.com 2009-12-15 17:21:14 +00:00
parent 07466260e2
commit bdd7ca54cd
3 changed files with 11 additions and 3 deletions

View file

@ -110,7 +110,7 @@ class LineInfo {
const char* start,
struct LineStateMachine* lsm,
size_t* len,
uintptr_t pc,
uintptr pc,
bool *lsm_passes_pc);
private: