Disclose-Recipients: prohibited Date: Tue, 18 Apr 1995 09:55:11 EST From: "Steve Salter (519) 452-4447" Subject: Code works fine (Was: - no subject (01HPGHOSEGZW8WVYV7) -) To: "stadier AT cuug DOT ab DOT ca" Cc: DJGPP Mailing List Autoforwarded: false Importance: normal Ua-Content-Id: 119492770900 Hop-Count: 0 Ralph, > I'm having a problem using abstract classes with GCC 2.6.3. When I try to > compile and link the following program exerpt: > [Program Deleted] > > I get the error message: > > pure.cc(.text+0x7a): undefined reference to `__pure_virtual' > > I can't seem to find any references to `__pure_virtual' (other than UNDEFINED) > in any of the DJGPP object libraries, so I don't know where it's expecting to > find it. Is this a problem with my particular installation, or are pure > virtual functions not supported with this release of DJGPP? > > Any suggestions, advice, hints or alternatives are appreciatively solicited. > > Thanks, > > Ralph When I compiled, linked and ran your excerpt, it ran fine: 106$ gcc pure.C -liostr 107$ go32 a.out go32 version 1.12.maint3 Copyright (C) 1994 DJ Delorie Reading an int... Reading a buffer... 108$ No linker errors. Could you tell me what command line you used? Steve Salter salters AT am DOT fanshawec DOT on DOT ca Programmer, Fanshawe College London, ON Canada