GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- #warning <iostream.h> is being replaced by <iostre...
Operating System - HP-UX
1846449
Members
2425
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 09:45 PM
02-24-2003 09:45 PM
#warning <iostream.h> is being replaced by <iostream> followed by "using nam
Hi ,
I am migrating my application from HP-UX 10.2 to HP-UX 11.0.
In the process I am also moving from CC to aC++ A.3.37.
With -AA option in my makefile, I am getting the following error:
t/aCC/bin/aCC +DA2.0N +eh -D_HPUX_SOURCE -c -O +DAportable +DS1.1 -I. +w +W22
9 +W361 +W392 +W431 +W655 +W684 +W818 +W819 +W849 +W889 -mt -AA +ESnolit -g -DR
WDEBUG -I/ora/product/v806/precomp/public -I. -I/home/ism/c983236/ph3/apps/tail
/src -I/home/ism/c983236/ph3/apps/tail/pubincl -I/home/ism/c983236/ph3/apps/tail
/tmp -I/dump/ismmig/nonCVS/inc -I/opt/aCC/include /home/ism/c983236/ph3/apps/ta
il/tmp/Tail.cpp -o /home/ism/c983236/ph3/apps/tail/tmp/Tail.o
Warning 890: "/opt/aCC/include_std/iostream_compat/iostream.h", line 4 # #warnin
g is being replaced by followed by "using namespace std;
"
#warning is being replaced by followed by "using nam
espace std;"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^
Error 172: "/opt/aCC/include/iterator", line 757 # Undeclared variable 'cin'.
istream_iterator () : stream(&cin), end_marker(false) {}
I have changed my file1.h as follows,But still the same error is coming.
#ifndef ORA_PROC
//####################### SYSTEM INCLUDES ######################################
#include
#include
#include
#include
#include
#include
#include
using namespace std;
Can anyone suggest me ,what could be the problem.
Thanks,
Muthu
I am migrating my application from HP-UX 10.2 to HP-UX 11.0.
In the process I am also moving from CC to aC++ A.3.37.
With -AA option in my makefile, I am getting the following error:
t/aCC/bin/aCC +DA2.0N +eh -D_HPUX_SOURCE -c -O +DAportable +DS1.1 -I. +w +W22
9 +W361 +W392 +W431 +W655 +W684 +W818 +W819 +W849 +W889 -mt -AA +ESnolit -g -DR
WDEBUG -I/ora/product/v806/precomp/public -I. -I/home/ism/c983236/ph3/apps/tail
/src -I/home/ism/c983236/ph3/apps/tail/pubincl -I/home/ism/c983236/ph3/apps/tail
/tmp -I/dump/ismmig/nonCVS/inc -I/opt/aCC/include /home/ism/c983236/ph3/apps/ta
il/tmp/Tail.cpp -o /home/ism/c983236/ph3/apps/tail/tmp/Tail.o
Warning 890: "/opt/aCC/include_std/iostream_compat/iostream.h", line 4 # #warnin
g
"
#warning
espace std;"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^
Error 172: "/opt/aCC/include/iterator", line 757 # Undeclared variable 'cin'.
istream_iterator () : stream(&cin), end_marker(false) {}
I have changed my file1.h as follows,But still the same error is coming.
#ifndef ORA_PROC
//####################### SYSTEM INCLUDES ######################################
#include
#include
#include
#include
#include
#include
#include
using namespace std;
Can anyone suggest me ,what could be the problem.
Thanks,
Muthu
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 05:06 AM
02-25-2003 05:06 AM
Re: #warning <iostream.h> is being replaced by <iostream> followed by "using nam
I think you're looking in wrong place. You should check headers in Tail.cpp.
istream_iterator is a template, so it means that object of the class from this template is being used, before cin stream object was declared. I guess that file1.h is not the first header included in Tail.cpp, is it?
I wouldn't be surprised if this error wasn't even related with this warning.
Good luck
Adam
istream_iterator is a template, so it means that object of the class from this template is being used, before cin stream object was declared. I guess that file1.h is not the first header included in Tail.cpp, is it?
I wouldn't be surprised if this error wasn't even related with this warning.
Good luck
Adam
I do everything perfectly, except from my mistakes
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP