- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compilation Error in HP 11v3-
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО06-02-2010 11:09 PM
тАО06-02-2010 11:09 PM
Getting below compilation error in HP11v3 which goes through fine in HP 11v2 version.
Kindly Help.
Thanks,
Ravindra
"Test.H", line 246: error #2330-D: "Collection
(declared at line 142 of "HP-UX-B.11.31-ia64/inc/Collection.H") is inaccessible
NiSimOrderList _simOrderList;
^
detected during implicit generation of "Test
&Test::operator=(const Test &)" at line 344 of "Test.C"
1 error detected in the compilation of "Test.C".
-----"Test.C"-------------
void Test::GetList(NiSimOrderList& list) const
{
Test *rec = _simOrderList[i];
Test *recCopy;
recCopy = new Test();
*recCopy = *rec; ------Line 344
}
-----Collection.H-----
private:
// Hidden functions
Collection
};
aCC: HP C/aC++ B3910B A.06.25 [Nov 30 2009]
Solved! Go to Solution.
- Tags:
- accessibility
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2010 01:55 AM - edited тАО02-08-2014 07:33 PM
тАО06-03-2010 01:55 AM - edited тАО02-08-2014 07:33 PM
Solution>which goes through fine in HP 11iv2 version.
What aC++ version do you have on 11.23?
It looks like the compiler was fixed to give you an error on a private copy assignment operator.
Why are you using multiple statements, why not use initialization?
Test *recCopy = new Test(*rec);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2010 02:01 AM
тАО06-03-2010 02:01 AM
Re: Compilation Error in HP 11v3-
The compiler version used in 11.23 was as below:
aCC: HP aC++/ANSI C B3910B A.06.10 [Mar 22 2006]
Thanks,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2010 04:23 AM
тАО06-11-2010 04:23 AM
Re: Compilation Error in HP 11v3-
But I might know why you haven't had much of a response.
I've gotten into a habit of checking how many responses have been assigned points by this author before I bother to try to help. This is because it looks like an author of a question that does not assign points seems to not really care about any answers. And if they don't care to read answers to questions... why would I bother to write?
For THIS response I would assign 0 points. It didn't really help at all, but at least
points are assigned.
Steve
From the main forum page.
What is the member point system?
Member status is established using a points-based feedback mechanism. Authors of original questions "grade" (on a Scale from 1-10) other members who reply to their questions. The higher the grade the more effective the response was in solving the question. This feature is HP's way of turning the reward mechanism over to the community. Each response to a question is eligible to receive feedback for its success in solving the user's problems.
I've read the replies to my question and I see "unassigned" next to each reply. What does that mean?
If you were to login, the term "unassigned" would turn into a dropdown menu of points. The points are used to rate the repliers to your question. Points range from 1-10. Every reply deserves recognition. Another member has taken the time to try and help you, so please take the time to assign them a point value based on the value of their reply. See "How Do I Assign Points".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2010 04:52 AM - edited тАО02-08-2014 07:33 PM
тАО06-12-2010 04:52 AM - edited тАО02-08-2014 07:33 PM
Re: Compilation Error in HP-UX 11.31
>Steve: I don't have an answer for you except to search for entries similar to your error using the forum search.
I thought I answered Ravindra question? I seriously doubt you'll find an answer by searching the forum for this complex C++ accessibility issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 10:48 PM
тАО06-13-2010 10:48 PM
Re: Compilation Error in HP 11v3-
Your answer helped indeed. THanks for your time.
Cheers,
Ravindra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2010 03:46 AM
тАО06-14-2010 03:46 AM
Re: Compilation Error in HP 11v3-
Oh. But my response was about the points.
I see he still didn't assign points. I was looking for that zero.
The word "UNassigned" still exists.
I'll stop typing now.