warning: undefined preprocessor identifier '_FORTIFY_SOURCE'

Zach Brown zach.brown at oracle.com
Tue Apr 1 11:15:12 PDT 2008


> This bug seems informative:
> 
> 	http://sourceware.org/bugzilla/show_bug.cgi?id=1438

Hah, indeed.  I was part-way through a rambling email that worked up to
the observation that we don't care about these bugs in glibc that sparse
is whining about :)

so I think the fix, for us, is to filter out these warnings in
scripts/sparse-wrapper.sh.  A comment above those regexes that has that
bugzilla link would be great.  So, like:

# glibc bug: http://sourceware.org/bugzilla/show_bug.cgi?id=1438
RE="$RE|^/usr/include.*warning: undefined preprocessor identifier
.*_FORTIFY_.*"

(but not mangled by thunderbird, and tested :))

Thanks for digging in to this.

- z



More information about the crfs-devel mailing list