This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: dv-cfi: include stdbool.h
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org, toolchain-devel at blackfin dot uclinux dot org
- Date: Mon, 17 Oct 2011 10:26:03 -0700
- Subject: Re: [PATCH] sim: dv-cfi: include stdbool.h
- References: <1310410693-20883-1-git-send-email-vapier@gentoo.org> <20111017165024.GB17942@adacore.com> <201110171306.34450.vapier@gentoo.org>
> > What we should do is get rid of uses of true and false, and use the
> > typical zero/nonzero values instead. I think that the blackfin header
> > and code should be cleaned up accordingly as well.
>
> ah, this would make me sad. would a configure check for stdbool.h be
> acceptable ?
But what would you do if stdbool.h is not available? Wouldn't that
complicate the code in the end?
--
Joel