delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/31/11:19:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: ecserv7.uwaterloo.ca: www set sender to y2bismil AT engmail DOT uwaterloo DOT ca using -f
Message-ID: <1067617166.3fa28b8ecc072@www.nexusmail.uwaterloo.ca>
Date: Fri, 31 Oct 2003 11:19:26 -0500
From: y2bismil AT engmail DOT uwaterloo DOT ca
To: cygwin AT cygwin DOT com
Subject: Re: gcc and iostream
References: <1067549281 DOT 3fa18261b9137 AT www DOT nexusmail DOT uwaterloo DOT ca> <133687559107 DOT 20031031100848 AT familiehaase DOT de> <1067616628 DOT 3fa2897461121 AT www DOT nexusmail DOT uwaterloo DOT ca>
In-Reply-To: <1067616628.3fa2897461121@www.nexusmail.uwaterloo.ca>
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.1 / FreeBSD-4.6.2
X-Originating-IP: 207.245.22.25

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 AT engmail DOT uwaterloo DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019