This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/81066] sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Using stack_t instead of struct sigaltstack is correct.  However, the type 
declaration should be obtained from <signal.h>.  Nothing outside of glibc 
should ever include <bits/*.h> headers or define glibc's __need_* macros; 
those are purely implementation details, not public interfaces, and are 
liable to change incompatibly at any time.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]