This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcc/77470] libssp may have bad includes
- From: "coypu at sdf dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Sep 2016 10:08:06 +0000
- Subject: [Bug libgcc/77470] libssp may have bad includes
- Auto-submitted: auto-generated
- References: <bug-77470-4@http.gcc.gnu.org/bugzilla/>
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!"); }