🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by "Stephen C. Pope" Wed, 22 Feb 1989 18:09
more 1.33/libg++ problems
#1697
Author: "Stephen C. Pope"
Date: Wed, 22 Feb 1989 18:09
64 lines
2334 bytes
[Michael:  I'm running g++ 1.33 on a Sun 4/110, SunOS4.01.
I just grabbed the 1.33 sources last night off of yahi.
Some of the problems below are Doug's, others may be
compiler problems, so I'm passing them along to you.
This is all using the standard distribution of libg++-1.32,
save for a new Fix.h I got from Doug today.]

Even with your new Fix.cc, test22.cc fails because
operator double() for both the Fix16 and Fix32 classes
is private (lines 25 and 73 in test22.cc

Also, in tests/test.hello.cc, line 110, where tfile::orig_name
is set, it fails because orig_name is a private member (this
is correct behavior, n'est-ce pas?).  making orig_name a
public static member works.

Also, test5a.cc craps out bad.  Something to do with pointers
to member functions.  lines 214, 231, and 277 all have bad argument
or argument passing between incompatible pointer type messages.
test5b.cc suffers the same problems on line 86.  I'm skipping this
mess as I don't use MemoizedIntegers.

Now to running them:

test4 craps out with:
	Assertion even(x) failed: file test4.cc line 89
	Abort (core dumped)

test5[a,b] are of course unrunnable.

test7 core dumps:
	...
	a = (2, 3)
	b = (4, 5)
	a + one = (3, 3)
	Bus error (core dumped)

test9 core dumps, I assume this has to do with the BitSet/BitString
shifting problems:
	...
	Assertion ((a << 1) >> 1) == a failed: test9.cc line 57
	Abort (core dumped)

test15 fails:
	...
	V stacks:
	Assertion s1.empty() failed: file test15.cc line 103
	Abort (core dumped)

test19 fails:
	...
	time = .37
	AVLtest
	a: [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ...]
	b: [1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 ...]
	c: [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ...]
	d: [1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 ...]
	Segmentation fault (core dumped)



Stephen Pope
scp@sfi.santafe.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads