diff --git a/cfg/posix.cfg b/cfg/posix.cfg
index 1641dc0a3..e32e2b105 100644
--- a/cfg/posix.cfg
+++ b/cfg/posix.cfg
@@ -16,6 +16,13 @@
+
+
+ true
+
+
+
+
false
@@ -1495,6 +1502,43 @@
+
+
+
+ false
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
diff --git a/test/teststl.cpp b/test/teststl.cpp
index 4217f07f3..0419252e7 100644
--- a/test/teststl.cpp
+++ b/test/teststl.cpp
@@ -2308,41 +2308,41 @@ private:
ASSERT_EQUALS("[test.cpp:4]: (error) Object pointed by an 'auto_ptr' is destroyed using operator 'delete'. You should not use 'auto_ptr' for pointers obtained with function 'malloc'.\n", errout.str());
check("int main()\n"
- "{\n"
- " auto_ptr x((int*)malloc(sizeof(int)*4));\n"
- "}");
+ "{\n"
+ " auto_ptr x((int*)malloc(sizeof(int)*4));\n"
+ "}");
ASSERT_EQUALS("[test.cpp:3]: (error) Object pointed by an 'auto_ptr' is destroyed using operator 'delete'. You should not use 'auto_ptr' for pointers obtained with function 'malloc'.\n", errout.str());
check("int main()\n"
- "{\n"
- " auto_ptr b(static_cast(malloc(sizeof(int)*4)));\n"
- "}");
+ "{\n"
+ " auto_ptr b(static_cast(malloc(sizeof(int)*4)));\n"
+ "}");
ASSERT_EQUALS("[test.cpp:3]: (error) Object pointed by an 'auto_ptr' is destroyed using operator 'delete'. You should not use 'auto_ptr' for pointers obtained with function 'malloc'.\n", errout.str());
check("int main()\n"
- "{\n"
- " auto_ptr x = (int*)malloc(sizeof(int)*4);\n"
- "}");
+ "{\n"
+ " auto_ptr x = (int*)malloc(sizeof(int)*4);\n"
+ "}");
ASSERT_EQUALS("[test.cpp:3]: (error) Object pointed by an 'auto_ptr' is destroyed using operator 'delete'. You should not use 'auto_ptr' for pointers obtained with function 'malloc'.\n", errout.str());
check("int main()\n"
- "{\n"
- " auto_ptr x = static_cast(malloc(sizeof(int)*4));\n"
- "}");
+ "{\n"
+ " auto_ptr x = static_cast(malloc(sizeof(int)*4));\n"
+ "}");
ASSERT_EQUALS("[test.cpp:3]: (error) Object pointed by an 'auto_ptr' is destroyed using operator 'delete'. You should not use 'auto_ptr' for pointers obtained with function 'malloc'.\n", errout.str());
check("int main()\n"
- "{\n"
- " auto_ptr x;\n"
- " x.reset((int*)malloc(sizeof(int)*4));\n"
- "}");
+ "{\n"
+ " auto_ptr x;\n"
+ " x.reset((int*)malloc(sizeof(int)*4));\n"
+ "}");
ASSERT_EQUALS("[test.cpp:4]: (error) Object pointed by an 'auto_ptr' is destroyed using operator 'delete'. You should not use 'auto_ptr' for pointers obtained with function 'malloc'.\n", errout.str());
check("int main()\n"
- "{\n"
- " auto_ptr x;\n"
- " x.reset(static_cast(malloc(sizeof(int)*4)));\n"
- "}");
+ "{\n"
+ " auto_ptr x;\n"
+ " x.reset(static_cast(malloc(sizeof(int)*4)));\n"
+ "}");
ASSERT_EQUALS("[test.cpp:4]: (error) Object pointed by an 'auto_ptr' is destroyed using operator 'delete'. You should not use 'auto_ptr' for pointers obtained with function 'malloc'.\n", errout.str());
}