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 libgcc/77470] libssp may have bad includes


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!"); }

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