Path: utzoo!mnetor!uunet!mcvax!inria!axis!jcc From: jcc@axis.fr (Jean-Christophe Collet) Newsgroups: comp.lang.c++ Subject: C++ Strange Bug Message-ID: <363@axis.fr> Date: 17 Mar 88 12:24:07 GMT References: <2133@polya.STANFORD.EDU> <12576@sgi.SGI.COM> <4666@teddy.UUCP> <3704@killer.UUCP> Organization: Axis Digital, Paris Lines: 30 Summary: C++ Strange Bug Hello, there ! I've found a *VERY* strange bug in the AT&T C++ Compiler Ver. 1.20 : When you use a class name (or structure name) beginning with the 2 chars _C you get the "un-usable struct (class) ignored" error message. then the cfront behaviour changes with the length of the name : - From 2 to 7 chars : Nothing more - From 8 to 10 chars : "Free store exhausted" - 11 and more : "Bus Error" I've tried the simplest source I could think about : struct _C123 { int a; int b; }; and compiled it via CC -F . Anybody got an idea about it ? Bye jcc. ------------------------------------------------------------------------------- "An artificial intelligence is better than none !" -------------------------------------------------------------------------------