summaryrefslogtreecommitdiff
path: root/src/poison.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-06-29 23:23:43 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-08-01 15:19:45 -0700
commit3b98f3439e33b15bba2036c402f9925340fdb2b9 (patch)
treef6a59330bb747d9cc64f5f83d06e7f76dc01d540 /src/poison.hpp
parent8d1480c1be7c9741876d89008277a2b3629a4d01 (diff)
downloadtmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.gz
tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.bz2
tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.tar.xz
tmwa-3b98f3439e33b15bba2036c402f9925340fdb2b9.zip
Poison std::string and use the various string classes
Diffstat (limited to 'src/poison.hpp')
-rw-r--r--src/poison.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/poison.hpp b/src/poison.hpp
index 0a7cc57..e7cc4cc 100644
--- a/src/poison.hpp
+++ b/src/poison.hpp
@@ -6,6 +6,8 @@
// double (use a fixed class)
#pragma GCC poison float
+#pragma GCC poison dynamic_cast
+
// Local time is forbidden.
#pragma GCC poison timelocal // timegm
#pragma GCC poison mktime // timegm
@@ -76,3 +78,10 @@
#pragma GCC poison memset
#pragma GCC poison memcmp
#pragma GCC poison strncpy // in favor of strzcpy
+
+#pragma GCC poison string // in favor of FString, MString, etc.
+#pragma GCC poison strcasecmp
+#pragma GCC poison toupper
+#pragma GCC poison tolower
+#pragma GCC poison isupper
+#pragma GCC poison islower