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

--- Comment #1 from coypu <coypu at sdf dot org> ---
Created attachment 39560
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39560&action=edit
Correct includes for libssp

This gets me a bit further, but I still have trouble using it.

For netbsd we have in stdio.h:
 #if _FORTIFY_SOURCE > 0
 #include <ssp/stdio.h>
 #endif

for non-netbsd, you can likely achieve the same failure by attempting
to compile this code:
 #define _FORTIFY_SOURCE
 #include <stdio.h>
 #include <ssp/stdio.h>
 void main() { printf("Hello!"); }

Reply via email to