From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2aa45d08f2d55476,start X-Google-Attributes: gidfee84,public From: Mike Schilling Subject: C++ compiler bug using V6.0-010 (Rev. 564) Date: 1998/12/10 Message-ID: <36702B9B.4C7BA2E9@forte.com>#1/1 X-Deja-AN: 420919005 Content-Transfer-Encoding: 7bit Organization: Forte Software, Inc. Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 A NULL in a static list of method pointers causes the compiler error: GEM ASSERTION, Compiler internal error - please submit problem report I haven't been able to create a simple test case that reproduces the problem, but the code causing the error looks like: class MyClass { public: void Method1(); char * Method3(int i); }; static void (MyClass::* methPtrs0_1)() = &MyClass::Method1; static char * (MyClass::* methPtrs0_3)(int i) = &MyClass::Method3; typedef void (MyClass::* MethPtr)(); static const MethPtr methPtrs0[] = { (MethPtr)methPtrs0_1, 0, (MethPtr)methPtrs0_3 }; Casting the 0 to MethPtr doesn't help, nor does replacing it with NULL. Removing the 0 from the array initializer list eliminates the error. Does anyone know if this is fixed in a patch or later release? Thanks, Mike