- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compilation error in aCC error #2350
Operating System - HP-UX
1752402
Members
6368
Online
108788
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
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
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
09-15-2009 11:34 PM
09-15-2009 11:34 PM
Compilation error in aCC error #2350
Hi,
We are migrating a C/C++ application from HPUX11.11 to Itanium V23. I am compiling as a 32 bit application.
I am getting teh following error while compiling with -AP option.
/opt/aCC/bin/aCC -I/opt/tuxdir/tuxedo8.1/include -I/opt/siadev/mxshai3/SIA/1_1_code/common/include -I/opt/siadev/slayer/include -g0 -AP -w +z +DD32 -c OSCMonitor.cpp
"OSCMonitor.cpp", line 839: error #2350: more than one operator ">>" matches
these operands:
function "operator>>(RWvistream &, Boolean &)"
function "RWvistream::operator>>(bool &)"
operand types are: RWvistream >> bool
stream >> tsl->serverName >> tsl->seconds >> tsl->msecs >> tsl->deser;
^
1 error detected in the compilation of "OSCMonitor.cpp".
The problem here is RW libraries dont have >> operator to read bool data type.
I found that aCC5 does a implicit conversion of undefined data types by giving a future error. but while we are migrating to Itaniu series which uses aCC6.2, I am getting the above error.
Is there any way of overcoming this without having to change the variable datatypes in my sources?
Please help.
Thanks,
Goutham
We are migrating a C/C++ application from HPUX11.11 to Itanium V23. I am compiling as a 32 bit application.
I am getting teh following error while compiling with -AP option.
/opt/aCC/bin/aCC -I/opt/tuxdir/tuxedo8.1/include -I/opt/siadev/mxshai3/SIA/1_1_code/common/include -I/opt/siadev/slayer/include -g0 -AP -w +z +DD32 -c OSCMonitor.cpp
"OSCMonitor.cpp", line 839: error #2350: more than one operator ">>" matches
these operands:
function "operator>>(RWvistream &, Boolean &)"
function "RWvistream::operator>>(bool &)"
operand types are: RWvistream >> bool
stream >> tsl->serverName >> tsl->seconds >> tsl->msecs >> tsl->deser;
^
1 error detected in the compilation of "OSCMonitor.cpp".
The problem here is RW libraries dont have >> operator to read bool data type.
I found that aCC5 does a implicit conversion of undefined data types by giving a future error. but while we are migrating to Itaniu series which uses aCC6.2, I am getting the above error.
Is there any way of overcoming this without having to change the variable datatypes in my sources?
Please help.
Thanks,
Goutham
- Tags:
- overloading
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2009 02:52 AM
09-16-2009 02:52 AM
Re: Compilation error in aCC error #2350
function "operator>>(RWvistream &, Boolean &)"
function "RWvistream::operator>>(bool &)"
operand types are: RWvistream >> bool
Which one should it call?
You may have to use -AA to get it to pick the right one. (Or you may have to use -Aa to turn on koenig lookup.)
>The problem here is RW libraries don't have >> operator to read bool data type.
It looks like they have too many.
Note: The tools.h++ is much older with -AP.
>I found that aCC5
You mean aCC3 for PA?
>Is there any way of overcoming this without having to change the variable datatypes in my sources?
What are your types?
>-AP -w
You should NOT be using -w! Instead use +Wnnnn,mmmm for each one, after careful analysis.
function "RWvistream::operator>>(bool &)"
operand types are: RWvistream >> bool
Which one should it call?
You may have to use -AA to get it to pick the right one. (Or you may have to use -Aa to turn on koenig lookup.)
>The problem here is RW libraries don't have >> operator to read bool data type.
It looks like they have too many.
Note: The tools.h++ is much older with -AP.
>I found that aCC5
You mean aCC3 for PA?
>Is there any way of overcoming this without having to change the variable datatypes in my sources?
What are your types?
>-AP -w
You should NOT be using -w! Instead use +Wnnnn,mmmm for each one, after careful analysis.
- Tags:
- suppress warnings
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP