Assertion failure in rw/tislist.cc, line 0

Article ID: 838
Last updated: 05 Feb, 2008
Article ID: 838
Last updated: 05 Feb, 2008
Revision: 1
Views: 2779
Posted: 25 Jun, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


The following test program shows a problem that happens with Sunpro401/Sunpro410 on both SunOS and Solaris:
#include <rw/cstring.h>
#include <rw/tvhdict.h>
enum color {red=0, yellow, blue};

unsigned hashFunc (const color&) { return 1; }

int main()
{
RWTValHashDictionary<COLOR,RWCSTRING> l(hashFunc);
RWCString test (This is a test );
return 0;
}

CC -c -g -I.. -I. test1.C
>> Assertion: (gv_type_id) defined a zero-length dbg_type! (../../front/src/dbg_stcomm.cc, line 966)
while processing ../rw/tislist.cc at line 0.
Everything is fine without the -g option:


Action


This is a Sun problem that has apparently been fixed. There is a patch by Sun to address this problem.
This article was:   Helpful | Not helpful
Report an issue
Article ID: 838
Last updated: 05 Feb, 2008
Revision: 1
Views: 2779
Posted: 25 Jun, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category