From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5938 invoked by alias); 16 Dec 2001 08:42:21 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 5895 invoked from network); 16 Dec 2001 08:42:20 -0000 Received: from unknown (HELO ariane.ens-cachan.fr) (138.231.176.4) by sources.redhat.com with SMTP; 16 Dec 2001 08:42:20 -0000 Received: from mayo.cmla.ens-cachan.fr (mayo.cmla.ens-cachan.fr [138.231.64.2]) by ariane.ens-cachan.fr (8.12.0.Beta19/jtpda-5.3.3) with ESMTP id fBG8gEpj017579 ; Sun, 16 Dec 2001 09:42:14 +0100 Received: from riz.cmla.ens-cachan.fr (riz.cmla.ens-cachan.fr [138.231.64.59]) by mayo.cmla.ens-cachan.fr (8.9.1a/jtpda-5.3.2) with ESMTP id JAA23342 ; Sun, 16 Dec 2001 09:42:09 +0100 (MET) Received: from (dosreis@localhost) by riz.cmla.ens-cachan.fr (8.9.3+Sun/jtpda-5.3.1/CL) id JAA07411 ; Sun, 16 Dec 2001 09:42:08 +0100 (MET) To: Joe Buck Cc: gdr@codesourcery.com (Gabriel Dos Reis), max@e-soft.ru (Maxim Dementiev), gcc@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: Re: GCC 3.0.2: errno conflict. References: <200112160345.TAA29861@atrus.synopsys.com> From: Gabriel Dos Reis In-Reply-To: Joe Buck's message of "Sat, 15 Dec 2001 19:45:54 -0800 (PST)" Organization: CodeSourcery, LLC Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Date: Sun, 16 Dec 2001 01:45:00 -0000 Message-ID: X-Mailer: Gnus v5.6.45/Emacs 19.34 X-SW-Source: 2001-12/txt/msg00863.txt.bz2 Joe Buck writes: | > | I think that the conclusion is that, since you did not include | > | or explicitly, there is a bug. | > | > No, the C++ standard explicitly grants right to standard headers | > (except those inherited from C and the variants) to #include | > any other header. A well wriitten C++ program should not make any | > assumption about which header #includes which. From that point of | > view, I would say the testcase is ill-designed. | | Are you saying, then, that "errno" is a reserved identifier in C++ for all | programs that include any standard headers? any standard headers except those inherited from C and their variants. The Standard is clear about that. Quote has been provided elsewhere in this thread. | I am skeptical of this argument. Trust it or not but that is not my invention :-) -- Gaby CodeSourcery, LLC http://www.codesourcery.com