On 11 February 2010 23:17, Christophe Devriese <[email protected]> wrote: > Seems to me that it does.
> On Thu, Feb 11, 2010 at 8:48 AM, Achim Hasenmueller <[email protected]> wrote: >> >> The assertion does not trigger if mParent == NULL, right? >> Achim. Try replacing it with: Assert ( (!parent.isNull() || mParent == NULL) ); If the original (without the double brackets) triggers the Assert when mParent == NULL, but the version with double-brackets does not, then you have a bad definition of the Assert macro. I note that COMDefs.h includes this: +++++++++++++++ /* Both VBox/com/assert.h and qglobal.h contain a definition of ASSERT. * Either of them can be already included here, so try to shut them up. */ #undef ASSERT #include <VBox/com/com.h> #include <VBox/com/array.h> #include <VBox/com/assert.h> #undef ASSERT +++++++++++++++ @Devs: Wouldn't the second '#undef ASSERT' be a problem... Mark _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
