X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Date: Sun, 15 Jan 2017 17:26:41 +0200 Message-Id: <83r3449wem.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com In-reply-to: <83shol9elv.fsf@gnu.org> (djgpp@delorie.com) Subject: Re: memory.h References: <83h951c41o DOT fsf AT gnu DOT org> <83d1fpc24q DOT fsf AT gnu DOT org> <83shol9elv DOT fsf AT gnu DOT org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sun, 15 Jan 2017 05:38:52 +0200 > From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" > > > From: Hans-Bernhard Bröker > > Date: Sat, 14 Jan 2017 23:57:28 +0100 > > > > >> Would it be okay to > > >> simply add string.h, without removing stdlib.h? > > > > It would be okay for the user code to do that. > > > > But strictly speaking, system headers are effectively forbidden from > > doing that by the language standard. > > Not really. The language of the standard doesn't say that, it only > says that the implementation shall _behave_ as if no such inclusion > happened. And since AFAIK this header is not in the Standard, I guess even the above isn't a binding requirement.