Menu

#6 Compilation failure with debug enabled wxWidgets

open
None
5
2006-10-03
2006-08-07
No

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.

Discussion

  • Mart Raudsepp

    Mart Raudsepp - 2006-08-07
    • assigned_to: nobody --> jcouot
     
  • Mart Raudsepp

    Mart Raudsepp - 2006-08-07
    • summary: Compilation failture with debug enabled wxWidgets --> Compilation failure with debug enabled wxWidgets
     
  • Anonymous

    Anonymous - 2006-08-11

    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).

     
  • Anonymous

    Anonymous - 2006-08-11
    • status: open --> closed
     
  • Mart Raudsepp

    Mart Raudsepp - 2006-10-03
    • status: closed --> open
     
  • Mart Raudsepp

    Mart Raudsepp - 2006-10-03

    Logged In: YES
    user_id=712025

    Reopening because I don't see a fix committed to the
    subversion repository.

     

Log in to post a comment.

Auth0 Logo