Peter Mitsis | 8e35cc8 | 2016-01-13 13:02:56 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015 Wind River Systems, Inc. |
| 3 | * |
David B. Kinder | ac74d8b | 2017-01-18 17:01:01 -0800 | [diff] [blame] | 4 | * SPDX-License-Identifier: Apache-2.0 |
Peter Mitsis | 8e35cc8 | 2016-01-13 13:02:56 -0500 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | /* |
| 8 | * @file |
| 9 | * @brief Stub for C++ pure virtual functions |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * @brief Stub for pure virtual functions |
| 14 | * |
| 15 | * This routine is needed for linking C++ code that uses pure virtual |
| 16 | * functions. |
| 17 | * |
| 18 | * @return N/A |
| 19 | */ |
| 20 | void __cxa_pure_virtual(void) |
| 21 | { |
| 22 | while (1) { |
| 23 | ; |
| 24 | } |
| 25 | } |