/*-----------------------------------------------------------------------*
 * filename - pureerr.cpp
 * Error routine linked in when pure function called
 *-----------------------------------------------------------------------*/

/*
 *      C/C++ Run Time Library - Version 1.5
 *
 *      Copyright (c) 1990, 1994 by Borland International
 *      All Rights Reserved.
 *
 */

/*
   A pointer to this routine is linked into virtual vectors whenever
   a virtual function has been declared pure.  Ideally, the error
   message should be printed without using printf or stream I/O,
   since we would rather not pull in the code for those.  Such a
   result is system-dependent and beyond the scope of this implementation.
*/

#include <_io.h>

extern "C" void _RTLENTRY _pure_error_()
{
    _ErrorExit("Pure virtual function called");
}
