Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!ncifcrf!lhc!nih-csl!sapporo.dcrt.nih.gov!kgorlen From: kgorlen@sapporo.dcrt.nih.gov (Keith Gorlen) Newsgroups: comp.lang.c++ Subject: Re: Compiling NIHCL 3.0 under AT&T cfront 2.0 Summary: Sun C++ compiler bug Keywords: NIH, multiple inheritance Message-ID: <648@nih-csl.nih.gov> Date: 18 Nov 90 19:52:56 GMT References: <13066@gremlin.nrtc.northrop.com> Sender: news@nih-csl.nih.gov Organization: National Institutes of Health, Bethesda, MD Lines: 37 In article <13066@gremlin.nrtc.northrop.com> kkenny@lava.nrtc.northrop.com (Kevin B. Kenny KE9TV) writes: -> ->When I try to build NIHCL under ATT cfront 2.0 on a SpacrStation ->running SunOS 4.1, there are a number of problems. -> ->(2) When I try to make the multiple-inheritance version (`make mi'), -> the compilation fails with the following: -> ->"ArrayOb.c", line 72: error: ambiguous Object::nil and Object::nil (one not in v ->irtual base) ->"ArrayOb.c", line 129: error: ambiguous Object::nil and Object::nil (one not in ->virtual base) ->"ArrayOb.c", line 140: error: ambiguous Object::nil and Object::nil (one not in ->virtual base) ->"ArrayOb.c", line 177: error: two initializers for Collection ->"ArrayOb.c", line 177: error: two initializers for Object ->"ArrayOb.c", line 218: error: two initializers for Collection ->"ArrayOb.c", line 218: error: two initializers for Object -> ->Anyone else seen this problem before? Any suggestions what to do ->about it? -> ->Thanks, -> ->Kevin Kenny KE9TV ke9tv@nrtc.northrop.com Quite a few people have reported this problem to me. It is a C++ compiler bug that I reported to AT&T during the R2.0 beta test period around May, 1989. *Some* distributions of Sun C++ R2.0 still seem to have the bug, although the copy I use does not. I suggest you complain to Sun. -- Keith Gorlen phone: (301) 496-1111 Building 12A, Room 2033 uucp: uunet!kgorlen%alw.nih.gov National Institutes of Health Internet: kgorlen@alw.nih.gov Bethesda, MD 20892