Article View: gnu.g++.lib.bug
Article #495libg++ 1.34.0 compile errors
From: didsgn
Date: Thu, 06 Apr 1989 14:41
Date: Thu, 06 Apr 1989 14:41
48 lines
2173 bytes
2173 bytes
Has anyone seen this problem? I get a variable not declared when
compiling the library routine Sample.cc.
I have a SYSV system under CRDS UNOS running GCC version 1.34
and g++ version 1.34.1 and g++ library version 1.34.0. The config.h
and etc. files are setup similarly to a Sun 3 system.
The g++ was compiled by GCC and with the symbols SOS and ESKIT defined.
I tried g++ without these symbols but got the same results.
-Allan G. Schrum
Digital Design, Inc.
...!gatech!rebel!didsgn!{root|gnu|allan}
gcc -v
gcc version 1.34
g++ -v
g++ version 1.34.1
make
(cd src; make -b GXX=g++ CC=gnugcc)
g++ -g -O -fchar-charconst -I../g++-include -I.. -c stream.cc
g++ -g -O -fchar-charconst -I../g++-include -I.. -c PlotFile.cc
g++ -g -O -fchar-charconst -I../g++-include -I.. -c SFile.cc
g++ -g -O -fchar-charconst -I../g++-include -I.. -c Sample.cc
In method int SampleStatistic::samples ():
../g++-include/SampleStatistic.h:37: `maxV' was not declared (first use this function)
../g++-include/SampleStatistic.h:37: (Each undeclared identifier is reported only once
../g++-include/SampleStatistic.h:37: for each function it appears in.)
../g++-include/SampleStatistic.h:37: parse error at end of input
Sample.cc:30: parse error before `{'
At top level:
Sample.cc:35: `default_SampleStatistic_error_handler' undeclared, outside of functions
In method int SampleHistogram::inBucket (int):
../g++-include/SampleHistogram.h:58: parse error at end of input
../g++-include/SampleHistogram.h:59: warning: Old style parameter specification frowned upon
../g++-include/SampleHistogram.h:61: Unterminated string
../g++-include/SampleHistogram.h:52: parse error at end of input
At top level:
../g++-include/SampleHistogram.h:55: Unterminated string
*** Error code 1
Stop.
*** Error code 1
Stop.
Technical Details
Message-ID:
<623@didsgn.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!rebel!didsgn!rootShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!rebel!didsgn!root From: root@didsgn.UUCP (didsgn) Newsgroups: gnu.g++.lib.bug Subject: libg++ 1.34.0 compile errors Keywords: libg++ Message-ID: <623@didsgn.UUCP> Date: 6 Apr 89 14:41:58 GMT Organization: Digital Design Inc., Norcross GA Lines: 48