This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/57171] Internal compiler error: Error reporting routines re-entered.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57171

--- Comment #2 from Amir Taaki <zgenjix at yahoo dot com> 2013-05-04 16:31:05 UTC ---
https://mega.co.nz/#!P5ACwTCS!FKmUL1h0s77t2Wq0R5h8XRJCfuwSThAf30C1VDPHBno

"The file you are trying to attach is 3772 kilobytes (KB) in size. Attachments
cannot be more than 1000 KB.
We recommend that you store your attachment elsewhere and then insert the URL
to it in a comment, or in the URL field for this bug.
Alternately, if your attachment is an image, you could convert it to a
compressible format like JPG or PNG and try again. "

I figured out where the bug was coming from. I'm using
std::unique_ptr<leveldb::DB>, and passing some of those into a constructor for
an object which expects leveldb::DB*. The implicit cast was proving problematic
(yielding the error given above), but using foo.get() instead of just passing
foo is fine.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]