This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: regerror link error
- To: jtc at redback dot com
- Subject: Re: regerror link error
- From: Todd Whitesel <toddpw at windriver dot com>
- Date: Sat, 25 Mar 2000 00:39:35 -0800 (PST)
- Cc: phdm at macqel dot be (Philippe De Muyter), gdb-patches at sourceware dot cygnus dot com (gdb-patches at sourceware dot cygnus dot com), dan at cgsoftware dot com
> I think the __regerror() function in gnu-regex.c needs to be renamed
> regerror().
Absolutely agree.
The __ should only be used (and must be used) if the file is part of a
library provided with a compiler.
If the file is part of our app, then we should not be defining a __ symbol
because ANSI C reserves all __ symbols for the compiler's library!
--
Todd Whitesel
toddpw @ windriver.com