Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!psuvax1!rutgers!att!westmark!mole-end!mat From: mat@mole-end.UUCP (Mark A Terribile) Newsgroups: comp.lang.c++ Subject: Re: Spurious error: two initializers for Message-ID: <423@mole-end.UUCP> Date: 7 Aug 90 17:49:41 GMT References: <1990Aug3.141816.15829@bigsur.uucp> Organization: mole-end--private system. admin: mole-end!newtnews Lines: 21 > I suspect the following is a Cfront 2.0 bug. > Environment: Sun C++ 2.0, SparcStation 1, SunOS 4.0.3 > I have included a sample program that illustrates the problem below. > An incorrect error message is generated: > error: two initializers for > under certain conditions. ... > The error message only seems to appear when the translator > has found a legitimate error earlier in the program. ... Ah, yes. I have noticed similar problems on the Sun 3. I suggest you chalk it up to a compiler bug, and probably an interesting one. Well, at least it doesn't dump core. -- (This man's opinions are his own.) From mole-end Mark Terribile