grunwald@foobar.colorado.edu (Dirk Grunwald) (10/04/89)
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]