On Thursday 27 Nov 2003 8:55 pm, Graham Trott wrote:
On Thursday 27 November 2003 19:50, IanBell wrote:
IIRC gtk+ uses assertion all the time in its production code, particualrly to check variables are valid and they are an excellent debugging tool for anyone using gtk+.
Ian
Which is fine except that with source tarballs the idea is they should compile, not require Joe User to take a 3-year C course to figure out the problem. I'll try the <cassert> option tomorrow; NDEBUG means wading through configuration files.
-- G
I can understand that but gtk+ is an application development library rather than an app in itself so it is important for an app developer to know when he is using the library wrongly.
Ian