Open GoogleCodeExporter opened 9 years ago
mingw isn't a very well-supported build configuration for us, but this should
be as simple as changing this #if to include mingw:
https://code.google.com/p/google-breakpad/source/browse/trunk/src/google_breakpa
d/common/breakpad_types.h#52
Probably just make that "#if _MSC_VER >= 1600 || __GNUC__"
Original comment by ted.mielczarek
on 10 Jul 2015 at 12:10
You might find the patch set at https://breakpad.appspot.com/2734002/ useful.
Note well the caveat about strtok_r mentioned there.
Original comment by b152fee4...@gmail.com
on 10 Jul 2015 at 1:55
The patch resolved my problem thanks, but now i have another problem :
$ make
depbase=`echo src/processor/basic_source_line_resolver.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Werror=missing-braces -Werror=non-virtual-dtor -Werror=overloaded-virtual -Werror
=reorder -Werror=sign-compare -Werror=unused-variable -Werror=vla -g -O2 -MT
src/processor/basic_source_line_resolver.o -MD -MP -MF
$depbase.Tpo -c -o src/processor/basic_source_line_resolver.o
src/processor/basic_source_line_resolver.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ./src/processor/source_line_resolver_base_types.h:50:0,
from ./src/processor/basic_source_line_resolver_types.h:45,
from src/processor/basic_source_line_resolver.cc:48:
./src/processor/windows_frame_info.h: In static member function 'static
google_breakpad::WindowsFrameInfo* google_breakpad::WindowsFr
ameInfo::ParseFromString(std::string, int&, uint64_t&, uint64_t&)':
./src/processor/windows_frame_info.h:133:66: error: '_strtoui64' was not
declared in this scope
rva = strtoull(tokens[1], NULL, 16);
^
src/processor/basic_source_line_resolver.cc: In static member function 'static
bool google_breakpad::SymbolParseHelper::ParseFunction
(char*, uint64_t*, uint64_t*, long int*, char**)':
src/processor/basic_source_line_resolver.cc:505:51: error: '_strtoui64' was not
declared in this scope
*address = strtoull(tokens[0], &after_number, 16);
^
src/processor/basic_source_line_resolver.cc: In static member function 'static
bool google_breakpad::SymbolParseHelper::ParseLine(cha
r*, uint64_t*, uint64_t*, long int*, long int*)':
src/processor/basic_source_line_resolver.cc:537:52: error: '_strtoui64' was not
declared in this scope
*address = strtoull(tokens[0], &after_number, 16);
^
src/processor/basic_source_line_resolver.cc: In static member function 'static
bool google_breakpad::SymbolParseHelper::ParsePublicSy
mbol(char*, uint64_t*, long int*, char**)':
src/processor/basic_source_line_resolver.cc:586:51: error: '_strtoui64' was not
declared in this scope
*address = strtoull(tokens[0], &after_number, 16);
^
make: *** [src/processor/basic_source_line_resolver.o] Error 1
Original comment by Amine.Ai...@gmail.com
on 10 Jul 2015 at 3:33
Original issue reported on code.google.com by
Amine.Ai...@gmail.com
on 10 Jul 2015 at 10:16