From: Ducrot Bruno <poup@poupinou.org>
To: Glynn Clements <glynn.clements@virgin.net>
Cc: Gerald Waugh <gwaugh@frontstreetnetworks.com>,
linux-c-programming@vger.kernel.org
Subject: Re: TRUE FALSE
Date: Fri, 28 Jun 2002 14:20:41 +0200 [thread overview]
Message-ID: <20020628122041.GA6112@poup.poupinou.org> (raw)
In-Reply-To: <15637.14929.975497.394653@cerise.nosuchdomain.co.uk>
On Sun, Jun 23, 2002 at 04:02:41AM +0100, Glynn Clements wrote:
>
> Gerald Waugh wrote:
>
> > Oh, I know this is dumb
> > But where is TRUE and FALSE defined
>
> They aren't defined in any standard header; if you want them to be
> defined, you have to define them yourself.
Right, but wrong in some sense. ANSI C99 define the type 'bool' in stdbool.h
FALSE and TRUE didn't exist in any standard, though. You have to use
actually 'true' and 'false' instead if you want to use stdbool.h.
--
Ducrot Bruno
http://www.poupinou.org Page profaissionelle
http://toto.tu-me-saoules.com Haume page
prev parent reply other threads:[~2002-06-28 12:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-23 2:21 TRUE FALSE Gerald Waugh
2002-06-23 2:52 ` Michael H. Warfield
2002-06-23 3:02 ` Glynn Clements
2002-06-28 12:20 ` Ducrot Bruno [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020628122041.GA6112@poup.poupinou.org \
--to=poup@poupinou.org \
--cc=glynn.clements@virgin.net \
--cc=gwaugh@frontstreetnetworks.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).