Hello,

Blackbox didn't compile OOTB when I tried to install it in the latest cygwin version 1.5.9.
It compiled nicely under cygwin, however, after adding some very minor changes on the source code. The file src/Window.cc includes several calls to assert(). However, the header file for assert() is not #included in src/Window.cc. I traced the include tree beginning from Windows.cc and there was no inclusion of the hearder for assert().


Blackbox compiled cleanly after the adding #include <assert.h> in the proper place. I'm not sure whether this was a configure problem. assert.h could have been #included in some standard header file before but not anymore. Cygwin had its headers changed but that should not matter since
shouldn't it be that if a source needs some function, it should include the headers for that function?


In any case, here's the patch:

$ diff Window.cc newWindow.cc
46a47,49
>
> #include <assert.h>
>

That's just about it. If this is the wrong forum for this issue, please point out the correct one.

Thanks!

Best Regards,

Carlo Florendo
Astra Philippines Inc.
www.astra.ph




-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]



Reply via email to