Comment 2 for bug 1385707

Revision history for this message
tmodes (tmodes) wrote :

Hi Andreas,

just one question: I don't understand why the assert triggers a message at all.

From the documentation (http://docs.wxwidgets.org/stable/group__group__funcmacro__debug.html#ga204cc264ee560b67e6c6467ba8ffee5f )

cite: "Please note that the condition in wxASSERT() should have no side effects because it will not be executed in release mode at all."

So this would mean, that Hugin and/or wxWidgets is build as debug version. This would result in speed penalties and for distributing Hugin should be build as release version (not as debug version).

If Hugin and/or wxWidgets are build as release version and the assert still triggers a message box, this should be investigated and maybe report upstreams to wxWidgets.