From: Miguel F. <mi...@ce...> - 2003-03-20 20:43:06
|
On Thu, 2003-03-20 at 12:33, Heiko Schaefer wrote: > but i'm not quite sure if i agree that these messages are useless, it > appears to be fairly easy to grep for them - i find the whole notion of > abort()'ing and printing enough information so that it is possible to find > the place in the source where things went wrong, quite nice. good point, except you forgot that the original assert macro used to tell the file and the line where it came from. see 'man assert'. > [...] > > No. i think assert() must abort. if not you will probably see > > unpredicable results down on the execution, this is what assert is for. > > i am unsure if there is some sort of miscommunication here, miguel: > > in the original ffmpeg sources there are "assert(foo)" statements, which > - i believe - only print messages, but do not actually abort(). maybe i am > wrong in that assumption ?! yep. see 'man assert'. regards, Miguel |