This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 libc/1438] New: Operations on undefined _FORTIFY_SOURCE and __USE_FORTIFY_LEVEL


There are several places in the headers when _FORTIFY_SOURCE and
__USE_FORTIFY_LEVEL are used even though they are undefined.  GNU cpp doesn't
report warnings in system includes, but sparse does:

/usr/include/features.h:265:5: warning: undefined preprocessor identifier
'_FORTIFY_SOURCE'
/usr/include/sys/cdefs.h:264:6: warning: undefined preprocessor identifier
'__USE_FORTIFY_LEVEL'
/usr/include/stdio.h:833:5: warning: undefined preprocessor identifier
'__USE_FORTIFY_LEVEL'
/usr/include/string.h:420:6: warning: undefined preprocessor identifier
'__USE_FORTIFY_LEVEL'
/usr/include/unistd.h:1051:5: warning: undefined preprocessor identifier
'__USE_FORTIFY_LEVEL'

-- 
           Summary: Operations on undefined _FORTIFY_SOURCE and
                    __USE_FORTIFY_LEVEL
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: proski at gnu dot org
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=1438

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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