[git commit] test: fix includes for excepttest
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu May 24 08:30:00 UTC 2012
commit: http://git.uclibc.org/uClibc++/commit/?id=776b187781519dc90cf3c88623182fb7273b4998
branch: http://git.uclibc.org/uClibc++/commit/?id=refs/heads/master
strcmp needs cstring, not string
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
tests/excepttest.cpp | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/tests/excepttest.cpp b/tests/excepttest.cpp
index 4b547c7..77522e1 100644
--- a/tests/excepttest.cpp
+++ b/tests/excepttest.cpp
@@ -1,7 +1,7 @@
#include <exception>
#include <stdexcept>
-#include <string>
#include <cstdio>
+#include <cstring>
int main(){
printf("Starting exception testing\n");
@@ -47,9 +47,6 @@ int main(){
}catch(...){
printf("Caught generic exception (good)\n");
}
-
-
-
return 0;
}
More information about the uClibc-cvs
mailing list