This commit moves the files under `subsys/cpp` directory to the `lib/cpp` directory because the C++ ABI runtime library and the standard C++ library components are not a "subsystem" (aka. API) in conventional sense and is better described as a "library." Classifying the C++ ABI runtime library and the standard C++ library as "libraries" instead of "subsystems" also better aligns with how the existing C standard library implementation (`lib/libc`) is handled. Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
22 lines
347 B
C
22 lines
347 B
C
/*
|
|
* Copyright (c) 2015 Wind River Systems, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/*
|
|
* @file
|
|
* @brief Stub for C++ pure virtual functions
|
|
*/
|
|
|
|
/**
|
|
* @brief Stub for pure virtual functions
|
|
*
|
|
* This routine is needed for linking C++ code that uses pure virtual
|
|
* functions.
|
|
*/
|
|
void __cxa_pure_virtual(void)
|
|
{
|
|
while (1) {
|
|
}
|
|
}
|