Remember me

Lost Password?

Register now!
Who's Online
56 user(s) are online (41 user(s) are browsing Forums)

Members: 2
Guests: 54

nbache, invent, more...
Support us!
Recent OS4 Files
Report message:*

Re: library auto init code (solved)

Subject: Re: library auto init code (solved)
by Hans on 2019/4/13 1:12:35


Did you define NDEBUG when compiling the autoinit code? If so assert() would be defined as a no-op.

No. It's very strange that it did nothing for me, but it works for xenic.

I personally think that assert() shouldn't be used for autoinit code even if it works, because an error message saying "Couldn't open sample.library" is much clearer than an assertion failure message.

Ideally it would open an error requester, but even IDOS->PutErrorStr() makes it clear why it's failing.


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project