how to disable assert statements in ImageMagick
Posted: 2010-08-26T20:17:29-07:00
Hello to all,
How to disable assert statements in ImagMagick?
I am using RHL 5.4 and gott the latest source code, I know there is --disable-assert opiton in ./configure, but
I have tried it several times, it does work for me. Later I tried to change the
resulted makefile directly, so that the CXXFlAG has a -NDEBUG option, but
the resulted build library still has assert statement. I am sure the *.a file has
been updated since I have check the time it was created.
I have two ways to check if the library file has assert statement,
first I use nm -a xxx.a | fgrep assert
second I get assert error when running my program.
thanks to all.
How to disable assert statements in ImagMagick?
I am using RHL 5.4 and gott the latest source code, I know there is --disable-assert opiton in ./configure, but
I have tried it several times, it does work for me. Later I tried to change the
resulted makefile directly, so that the CXXFlAG has a -NDEBUG option, but
the resulted build library still has assert statement. I am sure the *.a file has
been updated since I have check the time it was created.
I have two ways to check if the library file has assert statement,
first I use nm -a xxx.a | fgrep assert
second I get assert error when running my program.
thanks to all.