I changed the type of `<< in file_functions.h to
tAttr("deprecated", tFunc(tMixed,FILE_OBJ))
which didn't have any visible effect when doing file<<"string". However, if I add the following to the File class i module.pmod
object `<<(mixed in) { return ::`<<(in); }
I'll get the warning
/home/nilsson/Pike/7.8/lib/modules/Stdio.pmod/module.pmod:804: Warning: Calling a deprecated value. /home/nilsson/Pike/7.8/lib/modules/Stdio.pmod/module.pmod:804: Warning: Using deprecated object(implements _static_modules.files()->Fd_ref) value.
Is this hiding a bug or a misfeature?
pike-devel@lists.lysator.liu.se