Displaying 1 result from an estimated 1 matches for "__use_fortify_source".
2007 Mar 07
2
-D_FORTIFY_SOURCE (was Re: [Xapian-commits] 7903: trunk/xapian-core/)
...not advertised people just won't know to use
it.
> This adds some extra checking for
> array bounds, partially at compile time, but doesn't currently
> find any problems (or cause any noticeable slowdown).
There's perhaps a reason for that - the vast majority of the tests
for __USE_FORTIFY_SOURCE (which is what _FORTIFY_SOURCE controls)
in the glibc headers are followed by "&& !defined __cplusplus"!
It also doesn't activate at all unless you're using GCC >= 4.1
so if your GCC is older, it'll have no effect at all on speed or
fortification.
The only thing w...