🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Arturo Perez x6739 Wed, 15 Nov 1989 23:46
(none)
#589
Author: Arturo Perez x6739
Date: Wed, 15 Nov 1989 23:46
32 lines
1273 bytes
On SunOS 4.0.3 on a Sparc processor

g++ version 1.34.2

libg++ version 1.34.0

fails test7 of test suite with a bus error when function close_enough
is called for the first time.

close_enough's parameters are
	close_enough (Complex a, Complex b)

if this is changed to
	close_enough (Complex& a, Complex b)

the test runs but fails the assertion.

if the params are changed to
	close_enough (Complex a, Complex& b)

the bus error returns.

It appears under the debugger that the constructor for the Complex
object "this" has the address offset (towards the greater address) by
4; e.g. the address of this = 0xc when it should be 0x8.

Please also respond to csawyer@cogito.prime.com.


Arturo Perez						aperez@cvbnet.prime.com
ComputerVision, a Prime Business Unit			(617) 275-1800 x6739
"Too much information, like a bullet through my brain!" - The Police
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