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/13150] New: undefined preprocessor symbol in glob.h


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

             Bug #: 13150
           Summary: undefined preprocessor symbol in glob.h
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: aurelien@aurel32.net
    Classification: Unclassified
              Host: x86_64-unknown-linux-gnu
            Target: x86_64-unknown-linux-gnu
             Build: x86_64-unknown-linux-gnu


Created attachment 5918
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5918
Patch to fix the issue

#if __USE_FILE_OFFSET64 && __GNUC__ < 2

Without __USE_FILE_OFFSET64 defined, this will use an undefined preprocessor
symbol in an #if (rather than an #ifdef or an #if defined()).  A few lines
later, glob.h does the same test correctly:

#if !defined __USE_FILE_OFFSET64 || __GNUC__ < 2

The attached patch fixes the issue.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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