Report message to a moderator
String SourceToObjName(const String& package, const String& srcfile_) { String srcfile = srcfile_; srcfile.TrimEnd(".cpp"); srcfile.TrimStart(GetFileFolder(PackagePath(package))); String r; for(const char *s = ~srcfile; *s; s++) r.Cat(findarg(*s, '/', '\\') >= 0 ? '_' : *s); return r; }