473,320 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Can't compile on HP 11 Platform

HELP!

This code compiles fine on the Solaris and AIX platform but for some
reasone fails on the HP 11 platform.

Here is the error I'm getting:

Error 226: "ClsGetAllRepository.cpp", line 107 # No appropriate
function found for call of 'operator ='. Last viable candidate was
"__rw::__rw_tree_iter<std::pair<RssLocalRepository ::ClsRssObject
*const,RssLocalRepository::ClsRssUser *>,long,const
std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *> *,const
std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>
&,__rw::__rw_rb_tree_node<std::allocator<std::pair <RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>
,std::pair<RssLocalRepository::ClsRssObject *const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject
*,__rw::__select1st<std::pair<RssLocalRepository:: ClsRssObject
*const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject *> > >
&__rw::__rw_tree_iter<std::pair<RssLocalRepository ::ClsRssObject
*const,RssLocalRepository::ClsRssUser *>,long,const
std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *> *,const
std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>
&,__rw::__rw_rb_tree_node<std::allocator<std::pair <RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>,std::pair<RssLocalRepository::ClsRssObject *const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject
*,__rw::__select1st<std::pair<RssLocalRepository:: ClsRssObject
*const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject *> > >::operator =(const
__rw::__rw_tree_iter<std::pair<RssLocalRepository: :ClsRssObject
*const,RssLocalRepository::ClsRssUser *>,long,const
std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *> *,const
std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>
&,__rw::__rw_rb_tree_node<std::allocator<std::pair <RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>,std::pair<RssLocalRepository::ClsRssObject *const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject
*,__rw::__select1st<std::pair<RssLocalRepository:: ClsRssObject
*const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject *> > > &)"
["/opt/aCC/include_std/rw/tree", line 153]. Argument of type 'class
__rw_tree_iter<std::pair<RssLocalRepository::ClsRs sObject
*const,RssLocalRepository::ClsRssUser
*>,long,std::pair<RssLocalRepository::ClsRssObjec t
*,RssLocalRepository::ClsRssUser *>
*,std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>
&,__rw::__rw_rb_tree_node<std::allocator<std::pair <RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>,std::pair<RssLocalRepository::ClsRssObject *const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject
*,__rw::__select1st<std::pair<RssLocalRepository:: ClsRssObject
*const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject *> > >' could not be converted to
'const __rw::__rw_tree_iter<std::pair<RssLocalRepository: :ClsRssObject
*const,RssLocalRepository::ClsRssUser *>,long,const
std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *> *,const
std::pair<RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>
&,__rw::__rw_rb_tree_node<std::allocator<std::pair <RssLocalRepository::ClsRssObject
*,RssLocalRepository::ClsRssUser *>,std::pair<RssLocalRepository::ClsRssObject

*const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject
*,__rw::__select1st<std::pair<RssLocalRepository:: ClsRssObject
*const,RssLocalRepository::ClsRssUser
*>,RssLocalRepository::ClsRssObject *> > > &'.
m_connectionPoolIter = m_connectionPool.begin();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm getting the same error for other code lines as well.

The definition of the above variables is:
typedef ConnectionPool::const_iterator ConnectionPoolConstIter;
typedef multimap<ClsRssObject*,
ClsRssUser*,
RssObjectPtrCompare,
ConnectionAllocator > ConnectionPool;

ConnectionPool m_connectionPool;
ConnectionPoolConstIter m_connectionPoolIter;

Here is the output for "aCC -V":
aCC: HP ANSI C++ B3910B A.03.27

Can anyone help???
Jul 19 '05 #1
1 1997
"Einat d" <ei*********@bmc.com> wrote...
This code
What code? You must have forgotten to post it...
compiles fine on the Solaris and AIX platform but for some
reasone fails on the HP 11 platform.

Here is the error I'm getting:

Error 226: "ClsGetAllRepository.cpp", line 107 # No appropriate
function found for call of 'operator ='.
[...]

I'm getting the same error for other code lines as well.

The definition of the above variables is:
typedef ConnectionPool::const_iterator ConnectionPoolConstIter;
And how are we supposed to divine the definition of 'ConnectionPool'?
typedef multimap<ClsRssObject*,
ClsRssUser*,
RssObjectPtrCompare,
ConnectionAllocator > ConnectionPool;
And what about RssObjectPtrCompare, ConnectionAllocator? We're not
mind readers, you know...

ConnectionPool m_connectionPool;
ConnectionPoolConstIter m_connectionPoolIter;

Here is the output for "aCC -V":
aCC: HP ANSI C++ B3910B A.03.27

Can anyone help???


Have you tried HP Technical Support? What did they say?

Victor
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++...
15
by: Coca | last post by:
HI, all How can I convert the C6.0 program of OS/2 platform TO windows2000/xp platform. The program occurs a lot of errors in Windows 2000/xp when compiled. And I hope a quick way to solve...
7
by: Profetas | last post by:
In a c program I have a var with the name of a file that I want to compile, how would I compile it using c code?
0
by: Vlad# | last post by:
Hi, I wanted to try out some development for the Windows CE 5.0 platform so downloaded the SmartPhone SDK from Microsoft and started up a new project with a blank form. This is virtually a blank...
7
by: dwasifar | last post by:
I'm an occasional VB user who has just installed VB .NET 2003 (previously using VB6). I migrated a VB6 project over, tweaked it, and compiled it. It runs fine on the machine I compiled it on, but...
3
by: Wayne Allen | last post by:
I am receiving a compile error when attempting to include Directshow in a managed C++ program using Visual C++ 2005 Express Edition Version 8. The ..NET framework is version 2.0.50727. To...
4
by: John Smith | last post by:
Hi I'm porting some C++ code to new platforms and have some 1-byte aligned structures which need a specific size. Since datatypes can vary on different platforms (which I found out the hard way...
15
by: steve yee | last post by:
i want to detect if the compile is 32 bits or 64 bits in the source code itself. so different code are compiled respectively. how to do this?
4
by: Martijn de Munnik | last post by:
Hi, I want to compile python on my solaris 10 system (amd 64 bit). I did the following: ../configure --prefix=/opt/64/python make which resulted in this error:
10
by: nik | last post by:
Hi, I've compiled my application on my vista machine, and it won't run at all on my xp machine. In the windows error report I get Exception code; 0xe0434f4d. I searched for that exception, but...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.