dcpp/Streams.h:140: error: there are no arguments to ‘_’ that depend on a template parameter, so a declaration of ‘_’ must be availabledcpp/Streams.h:140: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
virtual size_t write(const void* buf, size_t len) throw(Exception) { if(maxBytes < len) { throw FileException(_("More bytes written than requested")); // Та самая строчка 140 } maxBytes -= len; return s->write(buf, len);}