This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13150] New: undefined preprocessor symbol in glob.h
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 02 Sep 2011 20:35:21 +0000
- Subject: [Bug libc/13150] New: undefined preprocessor symbol in glob.h
- Auto-submitted: auto-generated
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.