Jassert & assert question


#1

I just tried to put some codes in my Juce project, this code containes “assert” commands in .ICC files.

The compiler rejects this “assert line”, why ?
Is JASSERT the only accepted command ?


#2

Well, jassert is the only assertion that juce provides for you. If you want to use a different one, then that’s fine, but you’ll have to include the appropriate header files yourself.


#3

#include <assert.h>

available on all platforms


#4

Of course.

But well the trouble seemed to be deeper than that.

It’s over.


#5

[quote]
Well, jassert is the only assertion that juce provides for you. [/quote]

What more than classical ‘assert’ ?