From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 497 invoked by alias); 24 Dec 2002 10:03:09 -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 477 invoked from network); 24 Dec 2002 10:03:03 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by 209.249.29.67 with SMTP; 24 Dec 2002 10:03:03 -0000 Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 18Qltj-0006Th-00 for gcc@gnu.org; Tue, 24 Dec 2002 05:02:51 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18QltD-0000hp-00 for gcc@gnu.org; Tue, 24 Dec 2002 05:02:23 -0500 Received: from smtp-out-6.wanadoo.fr ([193.252.19.25] helo=mel-rto6.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Qlso-0000Sw-00 for gcc@gnu.org; Tue, 24 Dec 2002 05:01:54 -0500 Received: from mel-rta6.wanadoo.fr (193.252.19.26) by mel-rto6.wanadoo.fr (6.7.015) id 3E075C9400039771 for gcc@gnu.org; Tue, 24 Dec 2002 11:01:51 +0100 Received: from armen.seriane.fr (80.14.81.31) by mel-rta6.wanadoo.fr (6.7.015) id 3E075AF7000305D1 for gcc@gnu.org; Tue, 24 Dec 2002 11:01:50 +0100 Received: from seriane.fr (phf@ouessant [192.168.99.4]) by armen.seriane.fr (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id KAA27686 for ; Tue, 24 Dec 2002 10:54:21 +0100 Message-ID: <3E08404B.1010401@seriane.fr> Date: Tue, 24 Dec 2002 09:57:00 -0000 From: "Patrick H. E. Foubet" Organization: S.E.R.I.A.N.E. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: gcc@gnu.org Subject: Compilation problem with gcc 3.2 on Mandrake 9.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-2.4 required=5.0 tests=GAPPY_TEXT,NOSPAM_INC,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.41 X-Spam-Level: X-SW-Source: 2002-12/txt/msg01403.txt.bz2 Hi every body, I work with the GNU gcc v 3.2 on Mandrake 9.0 For information, when I execute "gcc -v" I get : Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/specs Configured with: ../configure --prefix=3D/usr --libdir=3D/usr/lib=20 --with-slibdir=3D/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info= =20 --enable-shared --enable-threads=3Dposix --disable-checking=20 --enable-long-long --enable-__cxa_atexit=20 --enable-languages=3Dc,c++,ada,f77,objc,java=20 --host=3Di586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) I think that there are some problems but I want to be sure that it is=20 not in your part. For instance, consider a simple program (hello.cpp) like this : #include int main(void) { cout << "Hello World !" << endl; } when I compile il with "g++ hello.cpp" I get : hello.cpp: In function `int main()': hello.cpp:6: `cout' undeclared (first use this function) hello.cpp:6: (Each undeclared identifier is reported only once for each=20 function it appears in.) hello.cpp:6: `endl' undeclared (first use this function) If I replace by it works but I get : In file included from /usr/include/c++/3.2/backward/iostream.h:31, from hello.cpp:2: /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of=20 the C++ standard. Examples include substituting the header for the header for=20 C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated. Is it normal ? Merry Christmas and best regards. Patrick --=20 Informatique S.E.R.I.A.N.E. http://www.seriane.fr/ 79-81 avenue Dani=E8le CASANOVA B.P. 136 tel : 01 49 59 05 55 94208 IVRY sur Seine Cedex fax : 01 49 60 84 57