This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/1220] regex uses old-style definitions that cause g++ to fail
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 6 Sep 2005 18:10:32 -0000
- Subject: [Bug regex/1220] regex uses old-style definitions that cause g++ to fail
- References: <20050820072603.1220.eggert@gnu.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2005-09-06 18:10 -------
> These days there's no longer any reason for regex to use K&R function
> definition syntax,
Wrong. Using K&R function definitions ensures that the compiler warns about
missing prototypes. This is finer grained than a compiler can achieve this.
It is simply wrong to use g++ to compile regex.c. Period.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://sourceware.org/bugzilla/show_bug.cgi?id=1220
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.