This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: regerror link error


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]