denis%vlsi.poly@crim.ca ("Denis R. Martin") (03/09/89)
Hi,
Here is a C++ program I think should not compile. The only message
I get is "undefined symbols: _main". I'm running g++ V1.32 on a
Sun3 under OS3.5. The command I used is "g++ foo.cc".
// -*- C++ -*-
class Graph
{
protected:
UndefinedType vertices; // ???
public:
Graph();
~Graph();
};
main()
{
Graph a;
cout << "This should not compile...\n";
}
-------------------------------------------------------------------------------
For now, I'll make sure all my types are defined...
Denis Martin
Ecole Polytechnique, Montreal, Qc.
denis%vlsi.poly%crim.ca