Closed Bug 523840 Opened 16 years ago Closed 16 years ago

Compilation error in mozilla/gfx/thebes/src/gfxPangoFonts.cpp

Categories

(Core :: Graphics, defect)

PowerPC
AIX
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ul-mcamafia, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; AIX 5.1; en-US; rv:1.8.1.23) Gecko/20091019 SeaMonkey/1.1.18 Build Identifier: SEAMONKEY 2.0 rc2 / Firefox 3.5.4 rc / MOZILLA_VERSION = 1.9.1.4 xlC_r -o gfxPangoFonts.o -c -DIMPL_THEBES -DMOZILLA_INTERNAL_API -DMOZ_SUITE=1 -DOSTYPE=\"AIX5.1\" -DOSARCH=AIX -I/home/ulink/Src/comm-central/mozilla/gfx/thebes/src -I. -I../../../dist/include/cairo -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/qcms -I../../../dist/include/locale -I../../../dist/include -I../../../dist/include/thebes -I/home/ulink/Src/AIX-51/sm2/mozilla/dist/include/nspr -I/home/ulink/Src/AIX-51/sm2/mozilla/dist/sdk/include -qflag=w:w -qlanglvl=stdc99 -DNDEBUG -DTRIMMED -O -I/opt/freeware/include/cairo -I/opt/freeware/include/freetype2 -I/opt/freeware/include -DXTHREADS -I/opt/freeware/include/cairo -I/opt/freeware/include -I/opt/freeware/include/X11/extensions -I/opt/freeware/include/gtk-2.0 -I/opt/freeware/lib/gtk-2.0/include -I/opt/freeware/include/atk-1.0 -I/opt/freeware/include/cairo -I/opt/freeware/include/pango-1.0 -I/opt/freeware/include/glib-2.0 -I/opt/freeware/lib/glib-2.0/include -I/opt/freeware/include/gtk-unix-print-2.0 -I/opt/freeware/include/pango-1.0 -I/opt/freeware/include/glib-2.0 -I/opt/freeware/lib/glib-2.0/include -I/gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/export/power_510_32/usr/include/fontconfig/ -I/opt/freeware/include -I/gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/export/power_510_32/usr/include -I/gestconf/project/GNOME_ACL/GNOME/build/sh_build_GNOME/export/power_510_32/usr/include/freetype2 -qlanglvl=stdc99 -DMOZILLA_VERSION=\"1.9.1.4\" -DMOZILLA_VERSION_U=1.9.1.4 -DAIX=1 -DHAVE_SYS_INTTYPES_H=1 -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_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 -DHAVE_SYS_STATFS_H=1 -DHAVE_LIBC_R=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBC_R=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -DHAVE_FT_BITMAP_SIZE_Y_PPEM=1 -DHAVE_FT_GLYPHSLOT_EMBOLDEN=1 -DHAVE_FT_LOAD_SFNT_TABLE=1 -DHAVE_ARM_SIMD=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_TRUNCATE64=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_EMBEDDING_LEVEL_DEFAULT=1 -DMOZ_EMBEDDING_LEVEL_BASIC=1 -DMOZ_EMBEDDING_LEVEL_MINIMAL=1 -DMOZ_BUILD_APP=../suite -DMOZ_XUL_APP=1 -DMOZ_DEFAULT_TOOLKIT=\"cairo-gtk2\" -DMOZ_X11=1 -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DMOZ_PANGO=1 -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_NO_XPCOM_OBSOLETE=1 -DMOZ_OGG=1 -DMOZ_WAVE=1 -DMOZ_SYDNEYAUDIO=1 -DMOZ_MEDIA=1 -DMOZ_XTF=1 -DMOZ_CRASHREPORTER_ENABLE_PERCENT=100 -DMOZ_MATHML=1 -DMOZ_ENABLE_CANVAS=1 -DMOZ_SVG=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_PLACES=1 -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_HELP_VIEWER=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DHAVE_INTTYPES_H=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_RDF=1 -DMOZ_MORK=1 -DMOZ_MORKREADER=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DMOZ_ACCESSIBILITY_ATK=1 -DATK_MAJOR_VERSION=1 -DATK_MINOR_VERSION=12 -DATK_REV_VERSION=3 -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1163.16: 1540-0296 (S) A return value of type "nsReturnRef<_FcFontSet>" cannot be initialized with an rvalue of type "nsReturnRef<_FcFontSet>". "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1163.16: 1540-0218 (I) The call does not match any parameter list for "nsReturnRef<_FcFontSet>::nsReturnRef<_FcFontSet>". "../../../dist/include/xpcom/nsAutoRef.h", line 359.5: 1540-1283 (I) "nsReturnRef<_FcFontSet>::nsReturnRef(nsReturnRef<_FcFontSet> &)" is not a viable candidate. "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1163.16: 1540-0295 (I) A parameter of type "nsReturnRef<_FcFontSet> &" cannot be initialized with an rvalue of type "nsReturnRef<_FcFontSet>". "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1163.16: 1540-1290 (I) An rvalue cannot be converted to a reference to a non-const type. "../../../dist/include/xpcom/nsAutoRef.h", line 364.5: 1540-1283 (I) "nsReturnRef<_FcFontSet>::nsReturnRef(const nsReturningRef<_FcFontSet> &)" is not a viable candidate. "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1163.16: 1540-0295 (I) A parameter of type "const nsReturningRef<_FcFontSet> &" cannot be initialized with an rvalue of type "nsReturnRef<_FcFontSet>". "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1391.12: 1540-0296 (S) A return value of type "nsReturnRef<_FcFontSet>" cannot be initialized with an rvalue of type "nsReturnRef<_FcFontSet>". "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1391.12: 1540-0218 (I) The call does not match any parameter list for "nsReturnRef<_FcFontSet>::nsReturnRef<_FcFontSet>". "../../../dist/include/xpcom/nsAutoRef.h", line 359.5: 1540-1283 (I) "nsReturnRef<_FcFontSet>::nsReturnRef(nsReturnRef<_FcFontSet> &)" is not a viable candidate. "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1391.12: 1540-0295 (I) A parameter of type "nsReturnRef<_FcFontSet> &" cannot be initialized with an rvalue of type "nsReturnRef<_FcFontSet>". "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1391.12: 1540-1290 (I) An rvalue cannot be converted to a reference to a non-const type. "../../../dist/include/xpcom/nsAutoRef.h", line 364.5: 1540-1283 (I) "nsReturnRef<_FcFontSet>::nsReturnRef(const nsReturningRef<_FcFontSet> &)" is not a viable candidate. "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 1391.12: 1540-0295 (I) A parameter of type "const nsReturningRef<_FcFontSet> &" cannot be initialized with an rvalue of type "nsReturnRef<_FcFontSet>". "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 651.16: 1540-0296 (S) A return value of type "nsReturnRef<_PangoFont>" cannot be initialized with an rvalue of type "nsReturnRef<_PangoFont>". "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 651.16: 1540-0218 (I) The call does not match any parameter list for "nsReturnRef<_PangoFont>::nsReturnRef<_PangoFont>". "../../../dist/include/xpcom/nsAutoRef.h", line 359.5: 1540-1283 (I) "nsReturnRef<_PangoFont>::nsReturnRef(nsReturnRef<_PangoFont> &)" is not a viable candidate. "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 651.16: 1540-0295 (I) A parameter of type "nsReturnRef<_PangoFont> &" cannot be initialized with an rvalue of type "nsReturnRef<_PangoFont>". "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 651.16: 1540-1290 (I) An rvalue cannot be converted to a reference to a non-const type. "../../../dist/include/xpcom/nsAutoRef.h", line 364.5: 1540-1283 (I) "nsReturnRef<_PangoFont>::nsReturnRef(const nsReturningRef<_PangoFont> &)" is not a viable candidate. "/home/ulink/Src/comm-central/mozilla/gfx/thebes/src/gfxPangoFonts.cpp", line 651.16: 1540-0295 (I) A parameter of type "const nsReturningRef<_PangoFont> &" cannot be initialized with an rvalue of type "nsReturnRef<_PangoFont>". gmake[2]: *** [gfxPangoFonts.o] Error 1 gmake[2]: Leaving directory `/home/ulink/Src/AIX-51/sm2/mozilla/gfx/thebes/src' gmake[1]: *** [libs] Error 2 gmake[1]: Leaving directory `/home/ulink/Src/AIX-51/sm2/mozilla/gfx/thebes' gmake: *** [default] Error 2 Reproducible: Always Steps to Reproduce: 1. Compile on AIX 5.1 with VACPP 6.0.0.8 2. 3. Actual Results: Compilation error Expected Results: Successful compilation
This error seem resolved by updating the compiler. Does not appear with IBM XLC/C++ 7.0
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.