Subject: Re: libg++ compile errors???
To: None <langfod@maui.com>
From: Kent S. Gordon <kgor@ksg.com>
List: netbsd-help
Date: 04/22/1995 17:12:42
>>>>> "langfod" == David Langford <langfod@maui.com> writes:
  >Does anyone know what might be causing the following error in compiling 
  >the gnu/lib/libg++ libraries?
  >

I had this problem when I had /usr/local before /usr/bin in my path.
I then picked up a copy of g++ 2.6.3 instead of g++ 2.4.5 as in /usr/bin.

  >This is a very current source tree although I havent gotten this to
  >compile for several weeks.
  >
  >Arch: i386 NetBSD-current
  >
  >Thanks,
  >-David Langford
  >langfod@maui.com
  >
  >
  >===> libg++
  >g++ -O2 -m486 -pipe -I/usr/src/gnu/lib/libg++/libg++ -nostdinc++ -I/usr/src/gnu/lib/libg++/libg++/../g++-include  -I/usr/src/gnu/lib/libg++/libg++/../iostream  -c Fix24.cc
  >/usr/src/gnu/lib/libg++/libg++/Fix24.h: In function `class Fix24 operator >>(const class Fix24 &, int)':
  >In file included from Fix24.cc:27:
  >/usr/src/gnu/lib/libg++/libg++/Fix24.h:358: call of overloaded constructor `Fix24(long unsigned int)' is ambiguous
  >/usr/src/gnu/lib/libg++/libg++/Fix24.h:278: candidates are: Fix24::Fix24(const Fix48 &)
  >/usr/src/gnu/lib/libg++/libg++/Fix24.h:268:                 Fix24::Fix24(const Fix24 &)
  >/usr/src/gnu/lib/libg++/libg++/Fix24.h:273:                 Fix24::Fix24(double)
  >/usr/src/gnu/lib/libg++/libg++/Fix24.h:253:                 Fix24::Fix24(int)
  >/usr/src/gnu/lib/libg++/libg++/Fix24.h:248:                 Fix24::Fix24(long int)
  >/usr/src/gnu/lib/libg++/libg++/Fix24.h:358: in base initialization for class `Fix24'
  >*** Error code 1
  >
  >Stop.
  >

-- 
Kent S. Gordon
e-mail: kgor@ksg.com kgor@onramp.net
Postal(Home): 76 Corral Drive North, Keller, Texas 76248
Phone: (817)431-8775 (night)