mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
(nmake makefiles) defined this macro:
__OBSOLETE__ == $("6 months ago":@F=%(%Y0101)T)
This was used to automatically disable code after a period between
6 and 18 months, on 1st Jan of each year, in preprocessor
directives like:
#if __OBSOLETE__ < 20080101
// obsolete code here
#endif
However, when compiling without nmake (as we do), this __OBSOLETE__
macro is not defined at all. And undefined macros evaluate to zero
in arithmetic comparisons, so all that obsolete code has been
getting compiled. Thankfully it doesn't seem to have done any harm,
but all that code was supposed to expire between 2008 and 2014.
src/lib/libast/disc/sfstrtmp.c:
- Removed. Was supposed to be a stub #if __OBSOLETE__ >= 20070101.
src/lib/libast/include/ast.h:
- Remove unused fmtbasell() macro (/* until 2014-01-01 */).
Other changed files:
- Remove __OBSOLETE__d code.
|
||
|---|---|---|
| .. | ||
| astconf.c | ||
| astcopy.c | ||
| astdynamic.c | ||
| astmath.c | ||
| astquery.c | ||
| aststatic.c | ||
| astwinsize.c | ||
| atmain.C | ||
| iblocks.c | ||
| lc.c | ||
| lc.tab | ||
| lcgen.c | ||
| lclang.h | ||
| lclib.h | ||
| mc.c | ||
| mnt.c | ||
| touch.c | ||