HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cannot access protected member
Operating System - HP-UX
1829117
Members
2108
Online
109986
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
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
06-22-2009 10:07 PM
06-22-2009 10:07 PM
cannot access protected member
In hp parisc platform.
I am following strange error saying that connot access protected member.
`if [ -d /usr/local/packages/compiler_remote/ansic35098-35101_aCCA03.70 ]; then echo '/usr/local/packages/compiler_remote/ansic35098-35101_aCCA03.70'; else echo ''; fi `/opt/aCC/bin/aCC clsnDaemonAgent.cpp -c -o clsnDaemonAgent.o -g -z +Z +DA2.0W +DS2.0 -w -AA -DHPUX -DORA_CPP -DSS_64BIT_SERVER -DHPPA64 -DSLS8NATIVE -DSLU8NATIVE -D_LARGEFILE64_SOURCE -D_RWSTD_MULTI_THREAD -D_REENTRANT -DSLXMX_ENABLE -DHPUX_KTHREAD -DSLTS_ENABLE +Oentrysched +Onolimit +ESlit +Oprocelim +Olibcalls -I/ade/aime_has_432100/oracle/has/src/common/osds -I/ade/aime_has_432100/oracle/has/hcache/ -I. -I./if
Error 182: "clsnDaemonAgent.cpp", line 1194 # "void clsn_agent::DaemonAgent::DaemonCheckThread::run()" cannot access protected member "void clsn_agent::Agent::agentInitiatedCheck()".
m_dmnAgent.agentInitiatedCheck();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When I am trying to access base class protected member through derived class object, I am above issue.
Pls let me know whether it is compiler bug?
I am following strange error saying that connot access protected member.
`if [ -d /usr/local/packages/compiler_remote/ansic35098-35101_aCCA03.70 ]; then echo '/usr/local/packages/compiler_remote/ansic35098-35101_aCCA03.70'; else echo ''; fi `/opt/aCC/bin/aCC clsnDaemonAgent.cpp -c -o clsnDaemonAgent.o -g -z +Z +DA2.0W +DS2.0 -w -AA -DHPUX -DORA_CPP -DSS_64BIT_SERVER -DHPPA64 -DSLS8NATIVE -DSLU8NATIVE -D_LARGEFILE64_SOURCE -D_RWSTD_MULTI_THREAD -D_REENTRANT -DSLXMX_ENABLE -DHPUX_KTHREAD -DSLTS_ENABLE +Oentrysched +Onolimit +ESlit +Oprocelim +Olibcalls -I/ade/aime_has_432100/oracle/has/src/common/osds -I/ade/aime_has_432100/oracle/has/hcache/ -I. -I./if
Error 182: "clsnDaemonAgent.cpp", line 1194 # "void clsn_agent::DaemonAgent::DaemonCheckThread::run()" cannot access protected member "void clsn_agent::Agent::agentInitiatedCheck()".
m_dmnAgent.agentInitiatedCheck();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When I am trying to access base class protected member through derived class object, I am above issue.
Pls let me know whether it is compiler bug?
- Tags:
- accessibility
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2009 02:26 AM
06-23-2009 02:26 AM
Re: cannot access protected member
A.03.70 is obsolete, the latest is A.03.85.
+DA2.0W should be replaced by +DD64.
You shouldn't use -w but +W### for individual messages.
-D_RWSTD_MULTI_THREAD -D_REENTRANT can be replaced by -mt.
+Oentrysched isn't supported if using exception handling.
clsn_agent::DaemonAgent::DaemonCheckThread::run()" cannot access protected member "void clsn_agent::Agent::agentInitiatedCheck()".
m_dmnAgent.agentInitiatedCheck();
>When I am trying to access base class protected member through derived class object
Which are namespaces and which are classes? Which are the base and derived?
+DA2.0W should be replaced by +DD64.
You shouldn't use -w but +W### for individual messages.
-D_RWSTD_MULTI_THREAD -D_REENTRANT can be replaced by -mt.
+Oentrysched isn't supported if using exception handling.
clsn_agent::DaemonAgent::DaemonCheckThread::run()" cannot access protected member "void clsn_agent::Agent::agentInitiatedCheck()".
m_dmnAgent.agentInitiatedCheck();
>When I am trying to access base class protected member through derived class object
Which are namespaces and which are classes? Which are the base and derived?
- 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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP