X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=LaMdGCs6ujY2t0eRhMWAU/b9btDBfezhYSp2o6o6f0A=; b=tXzSc1I/uEEa96okxQUUU47WL9VUOezoKQPzjbmOD8STAqoZspkrq/gp9gh6lb7eaL 0Xl+3bQ2YPwUKqAeh+YWsm2YyuTFeSBSxS9c0R/fAYm5vNNldPAbm/PhT4vmAinAmnay 9xWmfiyKgPu+2lW4OyMwxNNEgU9cl5lOmEF0H2zu083e88BoNmoyYVRUxby5CQS0eu0F 7FqZVcj99Qxs99I0akXI0Yh/H9cpyLO1U+ETWwV2JIjK69rnZO72D1Z8iJYmHvl5B2sg TyYpmVWPDOqka1IerYAFCsyfC6LcoBgwPu64HKbpk7638/C28UWZjuj/sC84W2Yjc5DB KiNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=LaMdGCs6ujY2t0eRhMWAU/b9btDBfezhYSp2o6o6f0A=; b=cUD/LmUJ+sTIvO+R3P11Ce96Sejc/J9NsHjvnfL+WJYXXFVBrbBhxkgHH8HMwhybz/ VXvRtoeaMIcWO8J58cjSdtocG3f0846PdCKRfWE+hAsLbWYRhb7X+TAfafodGUO/lBvR rTx5QwHWgnb+HCxFS2hsZs55HbiCRkOP5O1coj3sjSlpDNlh9bePxtbzVv18LZCTZJJd 5e5qPVOXHGUbcEt/5QYgp+QiHejLcj5GhHsy69voM9s4zSYCjdRjjbHJ0bPWorpCO/PD 7RAYeUkEdBHmjz88L+Esm8FWmqKmXwgDOenH3selvdBl7wcqotzmEzsE2sAOvTqKsYO6 /98g== X-Gm-Message-State: APzg51A13B5xlB3Hg12jVK8i+gbHdLeY5iaKIML3Y4MyVgwpAM+5l6SE r4qhTcDm9G/ASEEF78AyolNYbJNiy1rxwEsaaKUFDNG0 X-Google-Smtp-Source: ANB0VdZbU6CrFO9KMTfXoOQqDIVnEtJA179AzsC7s+UrLteRmd7aWlieAmRZ90FSCyKFkHjSBR7ItFk3nRsE5FH+rdo= X-Received: by 2002:a24:41e9:: with SMTP id b102-v6mr4029600itd.19.1536956696665; Fri, 14 Sep 2018 13:24:56 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <83a7ojkfum DOT fsf AT gnu DOT org> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp-workers AT delorie DOT com]" Date: Fri, 14 Sep 2018 23:24:56 +0300 Message-ID: Subject: Re: stdbool.h To: djgpp-workers AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 9/14/18, Ozkan Sezer wrote: > On 9/14/18, Eli Zaretskii (eliz AT gnu DOT org) [via > djgpp-workers AT delorie DOT com] wrote: >>> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp-workers AT delorie DOT com]" >>> >>> Date: Fri, 14 Sep 2018 21:58:26 +0300 >>> >>> Why do we need to provide a stdbool.h among djgpp includes? Gcc >= 3.0 >>> already provides it, and looking at deleted/v2gnu/ our own gcc302b.zip >>> and gcc31b.zip do have it. >> >> I may be misremembering or mixing things up (it's been a while), but >> could it have something to do with the "freestanding" support? >> > > That may be, yes. In that case, it is still broken for gcc < 3.0 I just tested building a test case like #include bool _foo = true; .. with gcc -ffreestanding -Wall -W -c 0.c .. and it does not fail, i.e. gcc-provided stdbool.h is still available in -ffreestanding mode.