This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc and iostream


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]