Xref: utzoo comp.lang.c++:6735 gnu.g++:698 Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!axion!cat.fulcrum.bt.co.uk!nott-cs!gas From: gas@cs.nott.ac.uk (Alan Shepherd) Newsgroups: comp.lang.c++,gnu.g++ Subject: strange error ? Message-ID: <25251@robin.cs.nott.ac.uk> Date: 7 Mar 90 09:09:14 GMT Sender: root@cs.nott.ac.uk Reply-To: gas@cs.nott.ac.uk (Alan Shepherd) Organization: Computer Science, Nottingham Univ., UK. Lines: 19 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