質問編集履歴
1
コードを挿入
test
CHANGED
File without changes
|
test
CHANGED
@@ -27,3 +27,69 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
```
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
このエラー文を見るとArudunoSTLのdel_ops.cppに問題があるのかなと思いましたのでdel_ops.cppのコードも載せます。よろしくお願いします。
|
34
|
+
|
35
|
+
```del_ops.cpp
|
36
|
+
|
37
|
+
/* Copyright (C) 2004 Garrett A. Kajmowicz
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
This file is part of the uClibc++ Library.
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
This library is free software; you can redistribute it and/or
|
46
|
+
|
47
|
+
modify it under the terms of the GNU Lesser General Public
|
48
|
+
|
49
|
+
License as published by the Free Software Foundation; either
|
50
|
+
|
51
|
+
version 2.1 of the License, or (at your option) any later version.
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
This library is distributed in the hope that it will be useful,
|
56
|
+
|
57
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
58
|
+
|
59
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
60
|
+
|
61
|
+
Lesser General Public License for more details.
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
You should have received a copy of the GNU Lesser General Public
|
66
|
+
|
67
|
+
License along with this library; if not, write to the Free Software
|
68
|
+
|
69
|
+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
70
|
+
|
71
|
+
*/
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
#include <new>
|
76
|
+
|
77
|
+
#include <cstdlib>
|
78
|
+
|
79
|
+
#include <func_exception>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
#ifndef NO_NOTHROW
|
84
|
+
|
85
|
+
_UCXXEXPORT void operator delete(void* ptr, const std::nothrow_t& ) throw() {
|
86
|
+
|
87
|
+
free(ptr);
|
88
|
+
|
89
|
+
}
|
90
|
+
|
91
|
+
#endif
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
```
|