From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3497 invoked by alias); 31 Oct 2003 16:19:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 3488 invoked from network); 31 Oct 2003 16:19:28 -0000 Received: from unknown (HELO ecserv7.uwaterloo.ca) (129.97.50.127) by sources.redhat.com with SMTP; 31 Oct 2003 16:19:28 -0000 Received: from ecserv7.uwaterloo.ca (localhost.uwaterloo.ca [127.0.0.1]) by ecserv7.uwaterloo.ca (8.12.6p2/8.12.6) with ESMTP id h9VGJQjA003634 for ; Fri, 31 Oct 2003 11:19:26 -0500 (EST) (envelope-from y2bismil@engmail.uwaterloo.ca) Received: (from www@localhost) by ecserv7.uwaterloo.ca (8.12.6p2/8.12.6/Submit) id h9VGJQXA003633 for cygwin@cygwin.com; Fri, 31 Oct 2003 11:19:26 -0500 (EST) (envelope-from y2bismil@engmail.uwaterloo.ca) X-Authentication-Warning: ecserv7.uwaterloo.ca: www set sender to y2bismil@engmail.uwaterloo.ca using -f Received: from 207.245.22.25 ( [207.245.22.25]) as user y2bismil@engmail.uwaterloo.ca by www.nexusmail.uwaterloo.ca with HTTP; Fri, 31 Oct 2003 11:19:26 -0500 Message-ID: <1067617166.3fa28b8ecc072@www.nexusmail.uwaterloo.ca> Date: Fri, 31 Oct 2003 17:00:00 -0000 From: y2bismil@engmail.uwaterloo.ca To: cygwin@cygwin.com Subject: Re: gcc and iostream References: <1067549281.3fa18261b9137@www.nexusmail.uwaterloo.ca> <133687559107.20031031100848@familiehaase.de> <1067616628.3fa2897461121@www.nexusmail.uwaterloo.ca> In-Reply-To: <1067616628.3fa2897461121@www.nexusmail.uwaterloo.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 / FreeBSD-4.6.2 X-Originating-IP: 207.245.22.25 X-SW-Source: 2003-10/txt/msg01848.txt.bz2 Ah, okay, running just the preprocessor on the file, This is what I get: Nothing weird is being pulled in from other directories. The iostream references are as follows: # 1 "/usr/include/c++/3.3.1/iostream" 1 3 # 43 "/usr/include/c++/3.3.1/iostream" 3 .. # 1 "/usr/include/c++/3.3.1/backward/iomanip.h" 1 3 # 31 "/usr/include/c++/3.3.1/backward/iomanip.h" 3 # 1 "/usr/include/c++/3.3.1/backward/backward_warning.h" 1 3 # 32 "/usr/include/c++/3.3.1/backward/iomanip.h" 2 3 # 1 "/usr/include/c++/3.3.1/backward/iostream.h" 1 3 # 34 "/usr/include/c++/3.3.1/backward/iostream.h" 3 This has me a bit concerned, and I'm looking at it. Any ideas? Thanks Yamin Quoting y2bismil@engmail.uwaterloo.ca: > Hi all, > > Okay, I've replaced the using namespace std with std:: for each call to > cout/cin. The error I got was interesting. It seems cout is not declared > in > namepace std. > > error: `cout' undeclared in namespace `std' > > Obviously something is up. If anyone can think of anything, let me know. > The > only lead I'm tracing now is if the Tornado headers are somehow being pulled > in. > > Thanks all, > > Yamin > > > > ---------------------------------------- > This mail sent through www.mywaterloo.ca > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > ---------------------------------------- This mail sent through www.mywaterloo.ca -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/