Build on AIX failed on little c-error

RESOLVED FIXED

Status

P3
normal
RESOLVED FIXED
20 years ago
14 years ago

People

(Reporter: michael, Assigned: jdunn)

Tracking

Trunk
Other
AIX

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 years ago
The make Output says all (AIX4.2, CC=xlc, CCC=xlC):

make[3]: Entering directory
`/work/MICHAEL/mozilla/widget/src/gtk'
xlC -o nsGtkUtils.o -c   -DUSE_AUTOCONF=1
-DMOZILLA_CLIENT=1 -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1
-DHAVE_ST_RDEV=1 -DHAVE_TZNAME=1 -DHAVE_DIRENT_H=1
-DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_FCNTL_H=1
-DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_PATHS_H=1
-DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STATVFS_H=1
-DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_LIBC_R=1
-DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBC=1 -DHAVE_LIBNSL=1
-DHAVE_LIBL=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_SNPRINTF=1 -DHAVE_WAITID=1
-DHAVE_REMAINDER=1 -DHAVE_LCHOWN=1 -DHAVE_STATVFS=1
-DHAVE_LOCALTIME_R=1 -DHAVE_GETTIMEOFDAY=1
-DGETTIMEOFDAY_TWO_ARGS=1 -DNEEDS_bool=1 -DMOZ_BRPROF=1
-DMOZ_USER_DIR=\".mozilla\" -DMOZ_DLL_SUFFIX=so
-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  -g -DPIC -brtl -qflag=w:w
-DDEBUG -UNDEBUG -DDEBUG_michael -DTRACING
-DOSTYPE=\"AIX4.2\" -DSingleSignon -DCookieManagement
-DClientWallet -D_IMPL_NS_WIDGET
-I../../../dist/./include -I../../../dist/include
-I../../../include  -I../../../dist/./public/jpeg
-I../../../dist/./public/png -I../../../dist/./public/zlib
-I./../xpwidgets -I./../gtk -I./.
-I/usr/local/lib/glib/include -I/usr/local/include
nsGtkUtils.cpp
"nsGtkUtils.cpp", line 92.34: 1540-055: (S) "int" cannot be
converted to "GtkRcFlags".
"nsGtkUtils.cpp", line 98.34: 1540-055: (S) "int" cannot be
converted to "GtkRcFlags".
"nsGtkUtils.cpp", line 104.34: 1540-055: (S) "int" cannot
be converted to "GtkRcFlags".
"nsGtkUtils.cpp", line 110.34: 1540-055: (S) "int" cannot
be converted to "GtkRcFlags".
make[3]: *** [nsGtkUtils.o] Error 1
make[3]: Target `libs' not remade because of errors.
make[3]: Leaving directory
`/work/MICHAEL/mozilla/widget/src/gtk'
make[2]: *** [libs] Error 2
make[2]: Leaving directory
`/work/MICHAEL/mozilla/widget/src'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/work/MICHAEL/mozilla/widget'
make: *** [libs] Error 2

Updated

20 years ago
Assignee: briano → ramiro

Comment 1

20 years ago
Ramiro says he plans to rewrite this code to avoid the
enum/int incompatibilities.  This breaks several other
platforms as well, and warns under Linux.  Reassigning
to ramiro.

Updated

20 years ago
Assignee: ramiro → jdunn

Comment 2

20 years ago
reassign to jdunn@netscape.com

Jim, can you take this one ? thanks.
(Assignee)

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

20 years ago
Already fixed, I checked this in (version 1.4 of nsGtkUtils.cpp)
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.