blob: d196bc6a1358d61aead610beda2e627899aa6da4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// impossible(*) to use safely
// removed in C11
#pragma GCC poison gets
// TODO fill in as they are removed from source code:
// 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()
// Use some sort of managed container, or at least dumb_ptr
#if 0
#pragma GCC poison malloc
#pragma GCC poison calloc
#pragma GCC poison realloc
#pragma GCC poison free
#pragma GCC poison strdup
#endif
|