Menu

#149 wxsqlite3: assert identifier not found

Subversion_TRUNK
closed-fixed
None
1
2012-11-24
2012-10-18
DustinB
No

Minor problem, but, in the "wxSQLite3Transaction(...)" function there is a "assert(db != NULL);". When building the the library for wxWinCE it cannot find this function. I'm assuming wxWinCE doesn't explicitly bring in <assert.h> while wxMSW does when you innclude <wx/wx.h>. Solutions:

1> Include "#include <assert.h>" before the function.
or
2> Why not use wxASSERT(...) instead?

Discussion

  • DustinB

    DustinB - 2012-10-18
    • assigned_to: nobody --> utelle
    • priority: 5 --> 1
     
  • Ulrich Telle

    Ulrich Telle - 2012-10-18

    I'll change it to use wxASSERT.

     
  • Ulrich Telle

    Ulrich Telle - 2012-10-18
    • status: open --> open-accepted
     
  • Ulrich Telle

    Ulrich Telle - 2012-11-24

    assert has been replaced by wxASSERT.

     
  • Ulrich Telle

    Ulrich Telle - 2012-11-24
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB