Menu

#16 many cpp files in pinedit/ fail to compile (no assert.h)

open
nobody
None
5
2004-01-03
2004-01-03
No

putting #include <assert.h> into command.h and
listitem.h seems to fix the problem ... otherwise you'd
have to #include in every file that fails ;)

--- pinedit/command.h.orig 2004-01-03
14:33:55.397504520 -0500
+++ pinedit/command.h 2004-01-03 14:34:01.133632496 -0500
@@ -18,6 +18,8 @@
#ifndef COMMAND_H
#define COMMAND_H

+#include <assert.h>
+
#define XY 0x1
#define XZ 0x2
#define ZY 0x3
--- pinedit/listitem.h.orig 2004-01-03
14:46:29.289895456 -0500
+++ pinedit/listitem.h 2004-01-03 14:46:36.062865808 -0500
@@ -20,6 +20,7 @@

// qt includes
#include <qlistview.h>
+#include <assert.h>

#define LISTITEM_NULL 0
#define LISTITEM_GROUP 1

Discussion

  • Andrew Pam

    Andrew Pam - 2005-01-09

    Logged In: YES
    user_id=382474

    Resolved by patch [ 1098773 ] pinedit-0.3.1 / compiling / assert

     
  • rzr

    rzr - 2011-04-26

    Can you please double check on HEAD (git)
    else please close this bug and reopen when tested ...

    thanks
    --
    http://rzr.online.fr/q/pinball

     

Log in to post a comment.