warning: undefined preprocessor identifier '_FORTIFY_SOURCE'

Zach Brown zach.brown at oracle.com
Tue Apr 1 10:43:33 PDT 2008


> /usr/include/features.h:265:5: warning: undefined preprocessor identifier '_FORTIFY_SOURCE'

Can you paste that line?

Over here it looks like there's a construct to make sure that it's set
before testing it..

if defined _fort && _fort > 0
    stuff

I wonder if you have some glibc that just does a

if _fort > 0

and doesn't have the defined guard?

I'm just guessing, though.

- z



More information about the crfs-devel mailing list