Compilation failure with debug enabled wxWidgets
A program which calculates and verifies checksums.
Brought to you by:
jcouot
The beginning of dlgProgress::Update in
src/dlgProgress.cpp reference a variable named "paused"
on the top of the method inside a wxASSERT_MSG.
This variable doesn't appear to exist these days, and
compilation fails with a debug wxWidgets due to
wxASSERT_MSG expanding to something, instead of nothing
as with a release build.
Deleting that one wxASSERT_MSG line (out of two there)
seems to fix compilation (when compilation with gcc4 is
fixed), but I don't know what the assert tested and if
it should maybe use a renamed variable name for
"paused" - state value to the correct enum perhaps?
debug enabled wxGTK-2.6.3.2
Trying to bump wxchecksums version in Gentoo Linux
official tree.
Logged In: YES
user_id=859084
It's a mispelling of "Paused". Unfortunately, the enum
element "paused" was defined in the wxWidgets framework.
Just change "paused" into "Paused" and it compiles again
(and should work better).
Logged In: YES
user_id=712025
Reopening because I don't see a fix committed to the
subversion repository.