From: Jorrit DOT Tyberghein AT uz DOT kuleuven DOT ac DOT be (Jorrit Tyberghein) Subject: Strange DJGPP behaviour with pure virtual functions To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Mon, 21 Aug 1995 09:01:31 +0200 (MET DST) Hi, Normally I develop my program under Linux using GCC 2.6.2. I had just programmed some new features and for the first time I used some pure virtual functions. All this worked perfectly in Linux. Then I copied my sources to DOS to make the DOS version of my program (like I do all the time). When I tried to compile the program with DJGPP 1.12maint4 I got the following error at link time: __pure_virtual not defined. I tried including the -lgpp and -lgpl libraries but this didn't help. I solved the problem by making the pure virtual functions not pure virtual anymore. So xxx () = 0 became xxx () { } Functionally this is the same but I would prefer the use pure virtual functions for obvious reasons. What can I do to fix this problem? Is this a bug in DJGPP? Greetings and many thanks in advance, ============================================================================== Jorrit DOT Tyberghein AT uz DOT kuleuven DOT ac DOT be, University Hospitals KU Leuven BELGIUM Madame Tracy had even removed most of the Major Arcana from her Tarot card pack, because their appearance tended to upset people. -- (Terry Pratchett & Neil Gaiman, Good Omens) ==============================================================================