You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:21: error: field ‘context’ has incomplete type ‘google_breakpad::ucontext’
struct ucontext context;
^~~~~~~
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
src/client/linux/handler/exception_handler.cc: In member function ‘bool google_breakpad::ExceptionHandler::HandleSignal(int, siginfo_t*, void*)’:
src/client/linux/handler/exception_handler.cc:345:54: error: invalid application of ‘sizeof’ to incomplete type ‘google_breakpad::ucontext’
memcpy(&context.context, uc, sizeof(struct ucontext));
^
src/client/linux/handler/exception_handler.cc:349:13: error: invalid use of incomplete type ‘struct google_breakpad::ucontext’
if (uc_ptr->uc_mcontext.fpregs) {
^~
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
src/client/linux/handler/exception_handler.cc:351:18: error: invalid use of incomplete type ‘struct google_breakpad::ucontext’
uc_ptr->uc_mcontext.fpregs,
^~
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
make: *** [Makefile:3553:src/client/linux/handler/exception_handler.o]
The text was updated successfully, but these errors were encountered:
By replacing ucontext with ucontext_t, i fixed this successfully.
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:21: error: field ‘context’ has incomplete type ‘google_breakpad::ucontext’
struct ucontext context;
^~~~~~~
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
src/client/linux/handler/exception_handler.cc: In member function ‘bool google_breakpad::ExceptionHandler::HandleSignal(int, siginfo_t*, void*)’:
src/client/linux/handler/exception_handler.cc:345:54: error: invalid application of ‘sizeof’ to incomplete type ‘google_breakpad::ucontext’
memcpy(&context.context, uc, sizeof(struct ucontext));
^
src/client/linux/handler/exception_handler.cc:349:13: error: invalid use of incomplete type ‘struct google_breakpad::ucontext’
if (uc_ptr->uc_mcontext.fpregs) {
^~
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
src/client/linux/handler/exception_handler.cc:351:18: error: invalid use of incomplete type ‘struct google_breakpad::ucontext’
uc_ptr->uc_mcontext.fpregs,
^~
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
make: *** [Makefile:3553:src/client/linux/handler/exception_handler.o]
By replacing ucontext with ucontext_t, i fixed this successfully.
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:21: error: field ‘context’ has incomplete type ‘google_breakpad::ucontext’
struct ucontext context;
^~~~~~~
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
src/client/linux/handler/exception_handler.cc: In member function ‘bool google_breakpad::ExceptionHandler::HandleSignal(int, siginfo_t*, void*)’:
src/client/linux/handler/exception_handler.cc:345:54: error: invalid application of ‘sizeof’ to incomplete type ‘google_breakpad::ucontext’
memcpy(&context.context, uc, sizeof(struct ucontext));
^
src/client/linux/handler/exception_handler.cc:349:13: error: invalid use of incomplete type ‘struct google_breakpad::ucontext’
if (uc_ptr->uc_mcontext.fpregs) {
^~
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
src/client/linux/handler/exception_handler.cc:351:18: error: invalid use of incomplete type ‘struct google_breakpad::ucontext’
uc_ptr->uc_mcontext.fpregs,
^~
In file included from src/client/linux/handler/exception_handler.cc:66:
./src/client/linux/handler/exception_handler.h:175:12: note: forward declaration of ‘struct google_breakpad::ucontext’
struct ucontext context;
^~~~~~~~
make: *** [Makefile:3553:src/client/linux/handler/exception_handler.o]
The text was updated successfully, but these errors were encountered: