This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: strchr, PR 2767, c_std vs c_shadow, and branch failure


On Tue, May 15, 2001 at 06:35:06PM -0700, Benjamin Kosnik wrote:
> 
> > Before I take a crack at c_shadow, I'd like to check in the configury
> > for --enable-concept-checks onto the trunk (going with the second of the
> > two crummy solutions I mentioned elsewhere).  Go / no go?
> 
> please wait on this.

Okay.  For the strchr thing, I added a declaration to
c_std/bits/std_cstring.h:

    extern "C" const char* strchr(const char*, int);

which I realize is not the way we want to go, but it provides a (weak) symbol
in the library instead of an undefined one in locale.o and finally lets me
run the testsuite.  I won't check this in, but there it is as a data point.


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


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