Boost logo

Boost Users :

From: Richard Hadsell (hadsell_at_[hidden])
Date: 2004-05-01 16:46:21


Markus Schöpflin wrote:

> - When compiling boost you will see several warnings (and one error!)
> about the use of assert on pointer types. These are caused by a bug in
> the system header files which force the argument for assert() to int.
> This can be fixed by editing the header file "/usr/include/assert.h".

Thanks for the tips. With regard to this one, was your fix to (a)
change the cast to bool, (b) change the cast to long, or (c) just
eliminate the cast and let the compiler convert to bool?

-- 
Dick Hadsell			914-259-6320  Fax: 914-259-6499
Reply-to:			hadsell_at_[hidden]
Blue Sky Studios                http://www.blueskystudios.com
44 South Broadway, White Plains, NY 10601

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net