mplulu / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
Other
0 stars 0 forks source link

exception_handler.cc:125:42: error: redefinition of parameter 'thread_state' #371

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
/Users/az/Programmierung/openlierox/src/breakpad/external/src/client/
mac/handler/minidump_generator.cc:491:14: warning: extra tokens at end 
of
      #undef directive [-Wextra-tokens]
#undef AddReg(a)
             ^
             //
1 diagnostic generated.
[  7%] Building CXX object 
CMakeFiles/openlierox.dir/src/breakpad/external/src/client/mac/handler/
exception_handler.o
/Users/az/Programmierung/openlierox/src/breakpad/external/src/client/
mac/handler/exception_handler.cc:125:42: error: redefinition of parameter
      'thread_state'
                          thread_state_t thread_state,
                                         ^
/Users/az/Programmierung/openlierox/src/breakpad/external/src/client/
mac/handler/exception_handler.cc:126:51: error: redefinition of parameter
      'thread_state_count'
                          mach_msg_type_number_t *thread_state_count);
                                                  ^
/Users/az/Programmierung/openlierox/src/breakpad/external/src/client/
mac/handler/exception_handler.cc:138:51: error: redefinition of parameter
      'thread_state'
                                   thread_state_t thread_state,
                                                  ^
/Users/az/Programmierung/openlierox/src/breakpad/external/src/client/
mac/handler/exception_handler.cc:139:60: error: redefinition of parameter
      'thread_state_count'
                                   mach_msg_type_number_t *thread_state_count);
                                                           ^
4 diagnostics generated.

Original issue reported on code.google.com by albzey on 21 Feb 2010 at 10:56

GoogleCodeExporter commented 9 years ago
Here is a simple patch:
http://openlierox.git.sourceforge.net/git/gitweb.cgi?
p=openlierox/openlierox;a=commitdiff;h=689834718b867447bc2b27020a6ce673e9f8
dee3

Original comment by albzey on 21 Feb 2010 at 10:58