🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Dirk Grunwald Tue, 03 Oct 1989 20:48
bug in 1.36.0: undeclared destructor
#458
Author: Dirk Grunwald
Date: Tue, 03 Oct 1989 20:48
42 lines
1235 bytes
configuration: decstation-3100
version: latest
problem:
	the following class doesn't declare ~foo, but no message is generated
	when we define it.

btw, I've got collect & gcc working on the pmax with the new gnulib. You
can't simply change things as I had previously stated because gnulib3.c
has a different format for the ctor/dtor list. Patches to come soon. 


[foobar-202] cat test2.cc
#include <stream.h>

char *STR = "hi mom\n";

class foo {
public:
    foo();
};

foo::foo()
{
    ::STR = "initializer got done\n";
}

foo::~foo()
{
    system("echo hi - did deSTRuctor");
}

foo bar;

main()
{
    cerr << "does stdout work?\n";
    cerr << STR << "\n";
}
[foobar-203] gcc -c test2.cc
[foobar-204] gcc -c -Wall test2.cc
[foobar-205]
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