Bitcointalk

CryptoPP Assertion Error

中本聪 · 2010 年 9 月 5 日

SN-2680 已核对来源,附原文与上下文。

阅读语言

你大概可以直接注释掉这一行

You can probably just comment out the line

cryptopp/secblock.h:187

cryptopp/secblock.h:187

//assert(false);

//assert(false);

好用了告诉我,并留意是否内存泄漏。

Let me know if it works, and watch if it memory leaks.

它看起来是一个模板类,用来确保派生类定义自己的 allocate 和 deallocate 版本。如果那真是问题所在、还一路带进了发布版,那就太怪了。大概是虚惊一场。

It looks like a template class to make sure the derived class defines its own version of allocate and deallocate. It would be weird if that was the actual problem and it made it all the way to release. Probably a false alarm.

上下文
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2680

阅读字号

选择适合你的字号,之后阅读会继续使用。