public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug hurd/11638] New: regex.c fails to compile on Hurd
@ 2010-05-26 14:38 aurelien at aurel32 dot net
  2010-05-26 14:39 ` [Bug hurd/11638] " aurelien at aurel32 dot net
  0 siblings, 1 reply; 9+ messages in thread
From: aurelien at aurel32 dot net @ 2010-05-26 14:38 UTC (permalink / raw)
  To: glibc-bugs

Since commit 54dd0ab31fe2b2168ba1a6180a0c05941fb54b3c, the MAX macro is used in 
regex_internal.c which is included by regex.c, while it is not defined on the 
include on Hurd.

On other architectures it is define in <sys/param.h> which is included in a 
weird way:

from ../sysdeps/i386/i686/hp-timing.h:25,
from ../sysdeps/x86_64/hp-timing.h:23,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/x86_64/tls.h:98,
from ../include/tls.h:6,
from ../bits/libc-tsd.h:45,
from ../locale/localeinfo.h:210,
from regex.c:54

I think that it should be included directly in regex_internal.h instead. Patch 
will follow.

-- 
           Summary: regex.c fails to compile on Hurd
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: hurd
        AssignedTo: roland at gnu dot org
        ReportedBy: aurelien at aurel32 dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-unknown-gnu0.3
  GCC host triplet: i686-unknown-gnu0.3
GCC target triplet: i686-unknown-gnu0.3


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

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-06-30 17:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11638-131@http.sourceware.org/bugzilla/>
2012-02-17  8:16 ` [Bug hurd/11638] regex.c fails to compile on Hurd eggert at gnu dot org
2012-02-17  8:17 ` eggert at gnu dot org
2012-02-17  9:22 ` tschwinge at sourceware dot org
2012-02-17 13:09 ` joseph at codesourcery dot com
2012-02-20 21:18 ` eggert at gnu dot org
2012-02-20 21:22 ` eggert at gnu dot org
2012-11-04 14:40 ` tschwinge at sourceware dot org
2014-06-30 17:55 ` fweimer at redhat dot com
2010-05-26 14:38 [Bug hurd/11638] New: " aurelien at aurel32 dot net
2010-05-26 14:39 ` [Bug hurd/11638] " aurelien at aurel32 dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).