summaryrefslogtreecommitdiff
path: root/src/poison.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/poison.hpp')
-rw-r--r--src/poison.hpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/poison.hpp b/src/poison.hpp
index 1b3191a..11ea41d 100644
--- a/src/poison.hpp
+++ b/src/poison.hpp
@@ -3,5 +3,14 @@
#pragma GCC poison gets
// TODO fill in as they are removed from source code:
-// float/double (use a fixed class)
+// double (use a fixed class)
+#pragma GCC poison float
// mem* and str* from <string.h>, in favor of <algorithm>
+
+// Local time is forbidden.
+#pragma GCC poison timelocal // timegm
+#pragma GCC poison mktime // timegm
+#pragma GCC poison localtime // gmtime
+#pragma GCC poison localtime_r // gmtime_r
+
+#pragma GCC poison time // TimeT::now() or gettick()