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


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

Re: libstdc++ question



Tom I can't reproduce this:

% cat > hello.cc
#include <iostream>

using namespace std;

int main()
{ cout << "hello" << endl;
  return 0;
}


%g++ hello.cc 

%./a.out
hello


%ldd a.out 
     libstdc++.so.3 => /mnt/hd/ahimsa/H-x86-gcc/lib/libstdc++.so.3 (0x40022000)
     libm.so.6 => /lib/i686/libm.so.6 (0x400bf000)
     libgcc_s.so.0 => /mnt/hd/ahimsa/H-x86-gcc/lib/libgcc_s.so.0 (0x400e3000)	libc.so.6 => /lib/i686/libc.so.6 (0x400ee000)
     /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


That being said, there are some issues with strchr and friends after
this patch:

2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>

	    * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
	    (strchr): Same.
	    (strpbrk): Same.
	    (strrchr): Same.
	    (strstr): Same.
	    * include/c_std/bits/std_cwchar.h (wcschr): Same.
	    (wcsbrk): Same.
	    (wcsrchr): Same.
	    (wcsstr): Same.
	    (wmemchr): Same.
	    * testsuite/21_strings/c_strings.cc: Add tests.
	    

I'll be getting to this today.

-benjamin






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