Closed
Bug 4642
Opened 26 years ago
Closed 26 years ago
build error on HP-UX with aCC
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: bruce, Assigned: jdunn)
Details
This is happening on the HP-UX tinderbox on the ports page. April 6-7, 1999.
aCC -ext -o nsBRFrame.o -c -DUSE_AUTOCONF=1 -DMOZILLA_CLIENT=1
-DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_ST_RDEV=1 -DHAVE_TZNAME=1
-DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_FCNTL_H=1
-DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LIBC_R=1
-DHAVE_LIBM=1 -DHAVE_LIBL=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DRETSIGTYPE=void -DHAVE_STRCOLL=1 -DHAVE_STRFTIME=1
-DHAVE_UTIME_NULL=1 -DHAVE_VPRINTF=1 -DHAVE_FTIME=1 -DHAVE_GETCWD=1
-DHAVE_GETHOSTNAME=1 -DHAVE_GETWD=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1
-DHAVE_PUTENV=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1
-DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1
-DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_UNAME=1 -DHAVE_QSORT=1 -DHAVE_WAITID=1
-DHAVE_REMAINDER=1 -DHAVE_LCHOWN=1 -DHAVE_LOC!
ALTIME_R=
1 -DHAVE_GETTIMEOFDAY=1 -DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_IOS_BINARY=1
-DHAVE_CPP_EXPLICIT=1 -DMOZ_BRPROF=1 -DMOZ_USER_DIR=\".mozilla\"
-DMOZ_DLL_SUFFIX=sl -DMODULAR_NETLIB=1 -DSTANDALONE_IMAGE_LIB=1 -DXP_UNIX=1
-DUNIX_EMBED=1 -DX_PLUGINS=1 -DUNIX_LDAP=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1
-DLAYERS=1 -DNETSCAPE=1 -DNGEDITOR=1 -O +Z -UDEBUG -DNDEBUG -DTRIMMED
-DOSTYPE=\"HP-UXB.10\" -DCookieManagement -D_IMPL_NS_HTML
-I../../../../dist/./include -I../../../../dist/include -I../../../../../include
-I/builds/tinderbox/SeaMonkey/nspr/include -I../../../../dist/./public/jpeg
-I../../../../dist/./public/png -I../../../../dist/./public/zlib
-I../../../../../layout/html/base/src/../../style/src
-I../../../../../layout/html/base/src/../../content/src
-I../../../../../layout/html/base/src/../../../base/src
-I../../../../../layout/html/base/src/. -I../../../../dist/./oji
-I/usr/include/X11 -DUSE_AUTOCONF=1 -DMOZILLA_CLIENT=1 -DSTDC_HEADERS=1
-DHAVE_ST_BLKSIZE=1 -DHAVE_ST_RDEV=1 -DHA!
VE_TZNAME
=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_FCNTL_H=1
-DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LIBC_R=1
-DHAVE_LIBM=1 -DHAVE_LIBL=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_UNISTD_H=1
-DHAVE_GETPAGESIZE=1 -DRETSIGTYPE=void -DHAVE_STRCOLL=1 -DHAVE_STRFTIME=1
-DHAVE_UTIME_NULL=1 -DHAVE_VPRINTF=1 -DHAVE_FTIME=1 -DHAVE_GETCWD=1
-DHAVE_GETHOSTNAME=1 -DHAVE_GETWD=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1
-DHAVE_PUTENV=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1
-DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1
-DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_UNAME=1 -DHAVE_QSORT=1 -DHAVE_WAITID=1
-DHAVE_REMAINDER=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GETTIMEOFDAY=1
-DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_IOS_BINARY=1 -DHAVE_CPP_EXPLICIT=1
-DMOZ_BRPROF=1 -DMOZ_USER_DIR=\!
".mozilla
\" -DMOZ_DLL_SUFFIX=sl -DMODULAR_NETLIB=1 -DSTANDALONE_IMAGE_LIB=1
-DXP_UNIX=1 -DUNIX_EMBED=1 -DX_PLUGINS=1 -DUNIX_LDAP=1 -DUNIX_ASYNC_DNS=1
-DJS_THREADSAFE=1 -DLAYERS=1 -DNETSCAPE=1 -DNGEDITOR=1 -O +Z
../../../../../layout/html/base/src/nsBRFrame.cpp
Error 181: "../../../../../layout/html/base/src/nsLineLayout.h", line 259 #
struct PerFrameData cannot access protected member struct PerSpanData.
PerSpanData* mSpan;
^^^^^^^^^^^
Error 181: "../../../../../layout/html/base/src/nsLineLayout.h", line 295 #
struct PerSpanData cannot access protected member struct PerFrameData.
PerFrameData* mFrame;
^^^^^^^^^^^^
Error 181: "../../../../../layout/html/base/src/nsLineLayout.h", line 296 #
struct PerSpanData cannot access protected member struct PerFrameData.
PerFrameData* mFirstFrame;
^^^^^^^^^^^^
Error 181: "../../../../../layout/html/base/src/nsLineLayout.h", line 297 #
struct PerSpanData cannot access protected member struct PerFrameData.
PerFrameData* mLastFrame;
^^^^^^^^^^^^
Error 181: "../../../../../layout/html/base/src/nsLineLayout.h", line 311 #
struct PerSpanData cannot access protected member struct PerFrameData.
void AppendFrame(PerFrameData* pfd) {
^^^^^^^^^^^^
Talked with scc and kipp. Turns out protected structures need to be
'friends' in order to access other protected structure in the same
class.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This is an AnsiC issue and the structs had to be given 'friend'
status.
So I added "friend struct PerSpanData" and "friend strcut PerFrameData".
This was checked in on 4/3/99 revision #3.26.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•