Add a New Comment (Rich Markup)
See commit f66f62e21c1aed7389129155965f00f8f290f349
While generating exceptions, libRTIieee1516-2010RTIambassadorImplementation.cpp (and libRTIieee1516-2010RTIambassadorImplementation.cpp) create error messages as follows: catch (NetworkError &e) { std::stringstream msg; msg << "NetworkError in tick() while receiving response: " << e._reason; std::wstring message(msg.str().begin(), msg.str().end()); throw rti1516::RTIinternalError(message); } While converting 'msg' to 'message' CERTI thus calls msg.str() twice, which yields different string objects. The begin() and end() iterator are then incompatible and MSVC 2012 notifies me of this error. The solution is simple: Call msg.str() once, and use begin() and end() on the same string object.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11