473,651 Members | 2,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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: "ClsGetAllRepos itory.cpp", line 107 # No appropriate
function found for call of 'operator ='. Last viable candidate was
"__rw::__rw_tre e_iter<std::pai r<RssLocalRepos itory::ClsRssOb ject
*const,RssLocal Repository::Cls RssUser *>,long,const
std::pair<RssLo calRepository:: ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *> *,const
std::pair<RssLo calRepository:: ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *>
&,__rw::__rw_rb _tree_node<std: :allocator<std: :pair<RssLocalR epository::ClsR ssObject
*,RssLocalRepos itory::ClsRssUs er *>
,std::pair<Rss LocalRepository ::ClsRssObject *const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject
*,__rw::__selec t1st<std::pair< RssLocalReposit ory::ClsRssObje ct
*const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject *> > >
&__rw::__rw_tre e_iter<std::pai r<RssLocalRepos itory::ClsRssOb ject
*const,RssLocal Repository::Cls RssUser *>,long,const
std::pair<RssLo calRepository:: ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *> *,const
std::pair<RssLo calRepository:: ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *>
&,__rw::__rw_rb _tree_node<std: :allocator<std: :pair<RssLocalR epository::ClsR ssObject
*,RssLocalRepos itory::ClsRssUs er *>,std::pair<Rss LocalRepository ::ClsRssObject *const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject
*,__rw::__selec t1st<std::pair< RssLocalReposit ory::ClsRssObje ct
*const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject *> > >::operator =(const
__rw::__rw_tree _iter<std::pair <RssLocalReposi tory::ClsRssObj ect
*const,RssLocal Repository::Cls RssUser *>,long,const
std::pair<RssLo calRepository:: ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *> *,const
std::pair<RssLo calRepository:: ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *>
&,__rw::__rw_rb _tree_node<std: :allocator<std: :pair<RssLocalR epository::ClsR ssObject
*,RssLocalRepos itory::ClsRssUs er *>,std::pair<Rss LocalRepository ::ClsRssObject *const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject
*,__rw::__selec t1st<std::pair< RssLocalReposit ory::ClsRssObje ct
*const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject *> > > &)"
["/opt/aCC/include_std/rw/tree", line 153]. Argument of type 'class
__rw_tree_iter< std::pair<RssLo calRepository:: ClsRssObject
*const,RssLocal Repository::Cls RssUser
*>,long,std::pa ir<RssLocalRepo sitory::ClsRssO bject
*,RssLocalRepos itory::ClsRssUs er *>
*,std::pair<Rss LocalRepository ::ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *>
&,__rw::__rw_rb _tree_node<std: :allocator<std: :pair<RssLocalR epository::ClsR ssObject
*,RssLocalRepos itory::ClsRssUs er *>,std::pair<Rss LocalRepository ::ClsRssObject *const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject
*,__rw::__selec t1st<std::pair< RssLocalReposit ory::ClsRssObje ct
*const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject *> > >' could not be converted to
'const __rw::__rw_tree _iter<std::pair <RssLocalReposi tory::ClsRssObj ect
*const,RssLocal Repository::Cls RssUser *>,long,const
std::pair<RssLo calRepository:: ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *> *,const
std::pair<RssLo calRepository:: ClsRssObject
*,RssLocalRepos itory::ClsRssUs er *>
&,__rw::__rw_rb _tree_node<std: :allocator<std: :pair<RssLocalR epository::ClsR ssObject
*,RssLocalRepos itory::ClsRssUs er *>,std::pair<Rss LocalRepository ::ClsRssObject

*const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject
*,__rw::__selec t1st<std::pair< RssLocalReposit ory::ClsRssObje ct
*const,RssLocal Repository::Cls RssUser
*>,RssLocalRepo sitory::ClsRssO bject *> > > &'.
m_connectionPoo lIter = m_connectionPoo l.begin();
^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^
I'm getting the same error for other code lines as well.

The definition of the above variables is:
typedef ConnectionPool: :const_iterator ConnectionPoolC onstIter;
typedef multimap<ClsRss Object*,
ClsRssUser*,
RssObjectPtrCom pare,
ConnectionAlloc ator > ConnectionPool;

ConnectionPool m_connectionPoo l;
ConnectionPoolC onstIter m_connectionPoo lIter;

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

Can anyone help???
Jul 19 '05 #1
1 2013
"Einat d" <ei*********@bm c.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: "ClsGetAllRepos itory.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 ConnectionPoolC onstIter;
And how are we supposed to divine the definition of 'ConnectionPool '?
typedef multimap<ClsRss Object*,
ClsRssUser*,
RssObjectPtrCom pare,
ConnectionAlloc ator > ConnectionPool;
And what about RssObjectPtrCom pare, ConnectionAlloc ator? We're not
mind readers, you know...

ConnectionPool m_connectionPoo l;
ConnectionPoolC onstIter m_connectionPoo lIter;

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
3429
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++ compiler. I need to compile it under UNIX platform. correct? any other alternatives?? Please advise. Thanks!!
15
1657
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 it, not read the code line by line. Thank you very much Coca
7
1178
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
1775
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 project, I will want to do some networking when I get the program to compile though. I am using Visual Studio 2005 RTM (Target is set to Windows Mobile 5.0 SmartPhone Emulator) The build error I get is this:
7
1454
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 will not initialize on other systems. After doing some digging I believe the problem is that I need to compile for Win32 platform instead of .NET platform. But that option is not available in the drop-down in Configuration Manager; .NET is...
3
6239
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 recreate the error, do the following steps in Visual C++ 2005 Express Edition: 1. Create a new Windows Forms Application called "Test". 2. In Form1.h, after the #pragma once declaration, add the line "#include <dshow.h>". 3. Add the Platform SDK and...
4
8949
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 since longs are not the same size on win64 and linux x64) I would like to do a check at compile time to make sure things are correct. This will ease future work. Is it possible to do something like the following at preprocessing stage:
15
4819
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
6475
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
1807
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 didn't see anything related to my problem The xp machine does have vb6 installed on it, could that be an issue? What reasons and solutions for this problem?
0
8357
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8803
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8700
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8465
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6158
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4285
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1588
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.