curl-library
Re: s/bool/int
Date: Wed, 26 May 2010 12:50:08 +0200
On Wed May 26 2010 12:39:50 Tor Arntsen wrote:
> I could do that. We would then want some magic to re-define TRUE/FALSE
> to those enum values (or it wouldn't be much of a point).
Yep, it may be worth unless it produces a lot of false alarms.
> However, I just did some testing with bool and gcc+<stdbool.h>. It
> doesn't seem to provide much protection as far as I can tell? A
> variable of type 'bool' will happily accept anything, it seems.
Could you please compare your results with the example I posted?
http://curl.haxx.se/mail/lib-2010-05/0288.html
What exactly differs?
Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-26