Closed Bug 205812 Opened 22 years ago Closed 22 years ago

nsHTMLEntities.cpp fails to build in 64-bit mode on AIX

Categories

(Core :: DOM: HTML Parser, defect)

Other
AIX
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: pkwarren, Assigned: harishd)

Details

(Keywords: 64bit)

Attachments

(1 file)

nsHTMLEntities fails to build in 64-bit mode on AIX. This is the error message given by the compiler: xlC_r -o nsHTMLEntities.o -c -DOSTYPE=\"AIX5.1\" -DOSARCH=\"AIX\" -DXML_DTD -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/util -I../../dist/include/uconv -I../../dist/include/unicharutil -I../../dist/include/expat -I../../dist/include/layout -I../../dist/include/dom -I../../dist/include/pref -I../../dist/include/nkcache -I../../dist/include/intl -I../../dist/include/htmlparser -I../../dist/include -I/home/netscape/sb/1.4b/mozilla/dist/include/nspr -qflag=w:w -DPIC -DAIX -DAIX4_3 -qwarn64 -DNDEBUG -DTRIMMED -O2 -qmaxmem=-1 -qalias=noansi -DDEPENDENT_LIBS="\"libxpcom.so\", \"libiconv.so\", \"libplds4.so\", \"libplc4.so\", \"libnspr4.so\", \"libpthreads.so\"," -DMOZILLA_CLIENT -D_MOZILLA_CONFIG_H_ -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_INT64=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_64BIT_OS=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DHAVE_DIRENT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHA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_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZILLA_VERSION=\"1.4b\" nsHTMLEntities.cpp "nsHTMLEntities.cpp", line 94.24: 1540-0216 (S) An expression of type "const void *" cannot be converted to type "PLDHashNumber". gmake[1]: *** [nsHTMLEntities.o] Error 1
Attached patch Patch v1Splinter Review
Attachment #123403 - Flags: superreview?(alecf)
Attachment #123403 - Flags: review?(harishd)
Comment on attachment 123403 [details] [diff] [review] Patch v1 ah hah! I told you there were legit uses of NS_PTR_TO_INT32() :) sr=alecf
Attachment #123403 - Flags: superreview?(alecf) → superreview+
Comment on attachment 123403 [details] [diff] [review] Patch v1 r=harishd
Attachment #123403 - Flags: review?(harishd) → review+
Comment on attachment 123403 [details] [diff] [review] Patch v1 Requesting approval for Mozilla 1.4. This is a one-line patch which fixes a compilation error while building in 64-bit.
Attachment #123403 - Flags: approval1.4?
Comment on attachment 123403 [details] [diff] [review] Patch v1 a=asa (on behalf of drivers) for checkin to 1.4
Attachment #123403 - Flags: approval1.4? → approval1.4+
Fixed. Checking in nsHTMLEntities.cpp; /cvsroot/mozilla/htmlparser/src/nsHTMLEntities.cpp,v <-- nsHTMLEntities.cpp new revision: 1.31; previous revision: 1.30 done
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: