RE: RHAS 4u4 gcc 3.4.6 ctype.narrow failed assertion

2007-05-23 Thread Scott Zhong
There is a problem with the wchar narrow / widen conversion, specifically wctype.cpp line 812 do_narrow. I can't pinpoint the exact problem currently due to my limited knowledge on current locale and facet structures in stdcxx. Yu (Scott) Zhong -Original Message- From: Martin Sebor

RHAS 4u4 gcc 3.4.6 ctype.narrow failed assertion

2007-05-15 Thread Scott Zhong
: narrow_chars: 82, narrow_out: 188 # TEXT: narrow_chars: 83, narrow_out: 189 # TEXT: narrow_chars: 120, narrow_out: 190 Yu (Scott) Zhong

RE: rewrite of 22.locale.ctype test (1st pass)

2007-05-09 Thread Scott Zhong
Here it is in zip link http://www.geocities.com/acered111/ctype.zip Yu (Scott) Zhong -Original Message- From: Martin Sebor [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 2:34 PM To: stdcxx-dev@incubator.apache.org Subject: Re: rewrite of 22.locale.ctype test (1st pass) Scott

rewrite of 22.locale.ctype test (1st pass)

2007-05-08 Thread Scott Zhong
; + +// process the locale definition file and character map +if (0 == rw_localedef (-w, srcfname, cmfname, locname)) +locname = 0; + +return locname; +} Yu (Scott) Zhong

opensuse 10.2 test ending prematurely

2007-04-09 Thread Scott Zhong
I attached the modified test, it is ending prematurely see log for more details. Yu (Scott) Zhong # INFO (S1) (10 lines): # TEXT: # COMPILER: gcc 4.1.2, __VERSION__ = 4.1.2 20061115 (prerelease) (SUSE Linux) # ENVIRONMENT: i386 running linux-elf 2.6.18 with glibc 2.5 # FILE: 22

rewrite of 22.locale.ctype test

2007-04-06 Thread Scott Zhong
into two separate test? E.g. 22.locale.ctype.is.ch.char and 22.locale.ctype.is.ch.wchar.t. Yu (Scott) Zhong

RE: rewrite of 22.locale.ctype test

2007-04-06 Thread Scott Zhong
Narrow uses widen as input to test on with each different locales. I assume tolower does the same. I think separating narrow.widen into two separate test is not the most efficient method. Yu (Scott) Zhong -Original Message- From: Martin Sebor [mailto:[EMAIL PROTECTED] Sent: Friday

RE: ctype index?

2007-04-05 Thread Scott Zhong
drift didn't explain much about the high value. I am changing the code on my workspace to check the results. Yu (Scott) Zhong -Original Message- From: Scott Zhong [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 9:27 AM To: stdcxx-dev@incubator.apache.org Subject: RE: ctype

ctype index?

2007-04-04 Thread Scott Zhong
{ _RWSTD_ASSERT (__lo = __hi); _RWSTD_ASSERT (!__lo || __dest); for (; __lo __hi; ++__lo, ++__dest) *__dest = narrow (*__lo, __dfault); return __hi; } Yu (Scott) Zhong

RE: strange characters in test output on gnome-terminal

2007-03-31 Thread Scott Zhong
I am seeing these characters using gnome on opensuse. Yu (Scott) Zhong -Original Message- From: Mark Brown [mailto:[EMAIL PROTECTED] Sent: Sat 3/31/2007 3:57 PM To: stdcxx-dev@incubator.apache.org Subject: strange characters in test output on gnome-terminal Hi! After I switched

openSUSE 10.2 -- gcc 4.1.1/2 -- 22.locale.ctype -- segv

2007-03-29 Thread Scott Zhong
\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x 1c\x1d\x1e\x1f !\#$%'()*+,-./0123456789:;=[EMAIL PROTECTED], got (invalid address 0x00ff) in locale () # CLAUSE: lib.category.ctype # LINE: 1176 Yu (Scott) Zhong

RE: openSUSE 10.2 -- gcc 4.1.1/2 -- 22.locale.ctype -- segv

2007-03-29 Thread Scott Zhong
) at /home/scottz/stdcxx/tests/src/driver.cpp:1136 #16 0x0804a816 in main (argc=Cannot access memory at address 0x0 ) at /home/scottz/stdcxx/tests/localization/22.locale.ctype.cpp:1703 Yu (Scott) Zhong

RE: [VOTE] Re: regression test suite naming convention

2007-03-21 Thread Scott Zhong
Option 3 sounds better, if option 3 is allowed. Otherwise option 2. Yu (Scott) Zhong -Original Message- From: Andrew Black [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 9:57 AM To: stdcxx-dev@incubator.apache.org Subject: Re: [VOTE] Re: regression test suite naming

RE: openSUSE 10.2 -- gcc 4.1.1/2 -- valarray

2007-03-18 Thread Scott Zhong
-_get_array_pt(); 2315c2315 const valarray_RWSTD_SIZE_T *__sec = __ia-get_array_pt(); --- const valarray_RWSTD_SIZE_T *__sec = __ia-_get_array_pt(); Yu (Scott) Zhong -Original Message- From: Martin Sebor [mailto:[EMAIL PROTECTED] Sent: Sun 3/18/2007 1:54 PM To: stdcxx-dev

openSUSE 10.2 -- gcc 4.1.1/2 -- 21.cwchar.cpp

2007-03-18 Thread Scott Zhong
: ‘tm’ does not name a type /home/scottz/stdcxx/tests/strings/21.cwchar.cpp:577: error: ‘test_tm’ in namespace ‘std::Nested’ does not name a type Yu (Scott) Zhong

openSUSE 10.2 -- gcc 4.1.1/2 -- valarray

2007-03-11 Thread Scott Zhong
: expected `;' before ‘)’ token Yu (Scott) Zhong

RE: openSUSE 10.2 -- gcc 4.1.1/2 -- valarray

2007-03-11 Thread Scott Zhong
gcc version 4.1.1 Yu (Scott) Zhong -Original Message- From: Scott Zhong [mailto:[EMAIL PROTECTED] Sent: Sun 3/11/2007 11:50 AM To: stdcxx-dev@incubator.apache.org Subject: openSUSE 10.2 -- gcc 4.1.1/2 -- valarray on openSUSE 10.2 compiling stdcxx/tests/intro/17.names.cpp with both gcc

RE: openSUSE 10.2 -- gcc 4.1.1/2 -- valarray

2007-03-11 Thread Scott Zhong
the main is changed to int main() { slice aSlice; slice_arrayint mySliceArray(aSlice); slice_arrayint my2ndSliceArray = mySliceArray; slice bSlice = mySliceArray.get_slice(); return 0; } still compiles fine. Yu (Scott) Zhong -Original Message

RE: Cygwin 12d build issues

2007-03-10 Thread Scott Zhong
() const' BAD_ALLOC_WHAT.o:BAD_ALLOC_WHAT.cpp:(.text+0xa4f): undefined reference to `std::bad_alloc::what() const' collect2: ld returned 1 exit status Yu (Scott) Zhong From: Mark Brown [mailto:[EMAIL PROTECTED] Sent: Sat 3/10/2007 4:39 PM To: stdcxx-dev

RE: Cygwin 12d build issues

2007-03-10 Thread Scott Zhong
::bad_alloc const)' BAD_ALLOC_ASSIGNMENT.o:BAD_ALLOC_ASSIGNMENT.cpp:(.text$_ZNSt9bad_allocassignERK S_[std::bad_alloc::assign(std::bad_alloc const)]+0x1f): undefined reference to `std::bad_alloc::operator=(std::bad_alloc const)' collect2: ld returned 1 exit status Yu (Scott) Zhong

Cygwin libc_decl.sh script error

2007-03-07 Thread Scott Zhong
\include\GLOBAL_BAD_EXCEPTION.exe: *** fatal error - called with threadlist_ix -1 Yu (Scott) Zhong

type_traits so far

2007-02-27 Thread Scott Zhong
: false_type { }; template class T struct is_pointerT*: true_type{ }; template class T struct is_reference: false_type { }; template class T struct is_referenceT: true_type{ }; Yu (Scott) Zhong Consulting Engineer Rogue Wave Software, a Quovadxtm division [EMAIL PROTECTED] ph: 303 545 3182

unable to use boolalpha stream manipulator in sourcepro ed9

2006-10-02 Thread Scott Zhong
. Yu (Scott) Zhong

RE: unable to use boolalpha stream manipulator in sourcepro ed9

2006-10-02 Thread Scott Zhong
I wasn't aware I thought it was a bug, thank you martin. -Original Message- From: Martin Sebor [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 2:02 PM To: stdcxx-dev@incubator.apache.org Subject: Re: unable to use boolalpha stream manipulator in sourcepro ed9 Scott Zhong wrote

string insert parameter ambiguous

2006-09-28 Thread Scott Zhong
std::string xmant = x.before_ + x.after_; if (y.before_.length() x.before_.length()) { xmant.insert(0, y.before_.length() - x.before_.length(), '0' ); } gcc -D_RWCONFIG=12d -I. -I./../../../../include -I.. -fPIC -O2 -pthread -ftemplate-depth-32 -D_RWCONFIG=12d

ostream

2006-07-25 Thread Scott Zhong
) { return *this _RWSTD_STATIC_CAST (unsigned long, __val); } And Ostream, line 151: basic_ostream operator (unsigned int __val) { return *this _RWSTD_STATIC_CAST (unsigned long, __val); } Thank you, Yu (Scott) Zhong Consulting Engineer Rogue Wave Software