public inbox for glibc-bugs-regex@sourceware.org help / color / mirror / Atom feed
* [Bug regex/5200] New: regex uses K&R definitions instead of ANSI C @ 2007-10-19 15:17 sds at gnu dot org 2007-10-19 15:19 ` [Bug regex/5200] " sds at gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: sds at gnu dot org @ 2007-10-19 15:17 UTC (permalink / raw) To: glibc-bugs-regex regcomp.c and regexec.c use old K&R function definitions instead of the ANSI C. this makes it impossible to compile regex with g++. glibc regex is used by gnulib and thus by dozens of packages that import regex from gnulib. this makes all those packages uncompilable with g++. (even when the package is plain C, it is useful to compile it with c++ every now and then to get a better type checking). I have patched regcomp.c and regexec.c to compile with g++. I don't see a way to attach a file though. -- Summary: regex uses K&R definitions instead of ANSI C Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: regex AssignedTo: drepper at redhat dot com ReportedBy: sds at gnu dot org CC: glibc-bugs-regex at sources dot redhat dot com,glibc- bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=5200 ------- 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] 4+ messages in thread
* [Bug regex/5200] regex uses K&R definitions instead of ANSI C 2007-10-19 15:17 [Bug regex/5200] New: regex uses K&R definitions instead of ANSI C sds at gnu dot org @ 2007-10-19 15:19 ` sds at gnu dot org 2007-10-19 15:20 ` sds at gnu dot org 2007-10-20 3:30 ` drepper at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: sds at gnu dot org @ 2007-10-19 15:19 UTC (permalink / raw) To: glibc-bugs-regex ------- Additional Comments From sds at gnu dot org 2007-10-19 15:19 ------- Created an attachment (id=2055) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2055&action=view) regexec ansi C patch -- http://sourceware.org/bugzilla/show_bug.cgi?id=5200 ------- 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] 4+ messages in thread
* [Bug regex/5200] regex uses K&R definitions instead of ANSI C 2007-10-19 15:17 [Bug regex/5200] New: regex uses K&R definitions instead of ANSI C sds at gnu dot org 2007-10-19 15:19 ` [Bug regex/5200] " sds at gnu dot org @ 2007-10-19 15:20 ` sds at gnu dot org 2007-10-20 3:30 ` drepper at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: sds at gnu dot org @ 2007-10-19 15:20 UTC (permalink / raw) To: glibc-bugs-regex ------- Additional Comments From sds at gnu dot org 2007-10-19 15:20 ------- Created an attachment (id=2056) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2056&action=view) regcomp ansi C patch -- http://sourceware.org/bugzilla/show_bug.cgi?id=5200 ------- 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] 4+ messages in thread
* [Bug regex/5200] regex uses K&R definitions instead of ANSI C 2007-10-19 15:17 [Bug regex/5200] New: regex uses K&R definitions instead of ANSI C sds at gnu dot org 2007-10-19 15:19 ` [Bug regex/5200] " sds at gnu dot org 2007-10-19 15:20 ` sds at gnu dot org @ 2007-10-20 3:30 ` drepper at redhat dot com 2 siblings, 0 replies; 4+ messages in thread From: drepper at redhat dot com @ 2007-10-20 3:30 UTC (permalink / raw) To: glibc-bugs-regex ------- Additional Comments From drepper at redhat dot com 2007-10-20 03:29 ------- regex is C code, don't use a C++ compiler. The use of K&R is deliberate and will not be changed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX http://sourceware.org/bugzilla/show_bug.cgi?id=5200 ------- 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] 4+ messages in thread
end of thread, other threads:[~2007-10-20 3:30 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-10-19 15:17 [Bug regex/5200] New: regex uses K&R definitions instead of ANSI C sds at gnu dot org 2007-10-19 15:19 ` [Bug regex/5200] " sds at gnu dot org 2007-10-19 15:20 ` sds at gnu dot org 2007-10-20 3:30 ` drepper at redhat dot com
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).