gas@cs.nott.ac.uk (Alan Shepherd) (03/07/90)
I've been trying to make an object-oriented database which is intended
for use with Glockenspiel C++ work with g++ (1.37.1). The utilities supplied
with the database generate some extra code which looks like:
Vehicle * Vehicle_Construct (APL *aaaa) {
return new Vehicle (aaaa);}
static FuncBindind _fUnCbInDiNg_Vehiclcxx_0("_Vehicle_Construct",
(void*) &Vehicle_Construct);
G++ complains with the following error message about the last line:
Vehicle.cxx:85: cannot resolve overloaded function `Vehicle_Construct'
based on non-function type
I think this must be to do with the last parameter, but I don't know enough
about C++ to know why and whether or not it should work. It works fine
with Glockenspiel, so any help would be appreciated.
Alan Shepherd