Description:
The HP compiler complains about the following error:
05039: aCC -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../../.. -I. -I../../../../include -I../../../../ndb/include -I../../../../ndb/src/kernel/vm -I../../../../ndb/src/kernel/error -I../../../../ndb/src/kernel -I../../../../ndb/include/kernel -I../../../../ndb/include/transporter -I../../../../ndb/include/debugger -I../../../../ndb/include/mgmapi -I../../../../ndb/include/mgmcommon -I../../../../ndb/include/ndbapi -I../../../../ndb/include/util -I../../../../ndb/include/portlib -I../../../../ndb/include/logger -DDBUG_OFF +O2 -DBIG_TABLES +DAportable -Aa -DHPUX11 -DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -DDONT_USE_FINITE -D_INCLUDE_LONGLONG -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -Aa -c EventLogger.cpp -o EventLogger.o
05040: Error 221: "../../../../ndb/include/debugger/EventLogger.hpp", line 52 # Member 'event_lookup' not declared in class EventLoggerBase ["../../../../ndb/include/debugger/EventLogger.hpp", line 27].
05041: EventLoggerBase::event_lookup(int eventType,
05042: ^^^^^^^^^^^^
05043: Error (future) 254: "../../../../ndb/include/kernel/NodeState.hpp", line 136 # Anonymous unions may only contain non-static data members and not define types.
05044: struct {
05045: ^^^^^^
05046: Error (future) 254: "../../../../ndb/include/kernel/NodeState.hpp", line 140 # Anonymous unions may only contain non-static data members and not define types.
05047: struct {
05048: ^^^^^^
05049: Warning: 2 future errors were detected and ignored. Add a '+p' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program
05050: gmake[6]: *** [EventLogger.lo] Error 1
05051: gmake[6]: Leaving directory `/home/mysqldev/hp3750/mysql-4.1.8/ndb/src/common/debugger'
How to repeat:
Compile with NDB cluster on HP-UX using the aCC compiler