Closed Bug 524271 Opened 15 years ago Closed 15 years ago

Compilation Error AIX filepicker component

Categories

(Toolkit :: UI Widgets, defect)

PowerPC
AIX
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.1 --- .6-fixed

People

(Reporter: ul-mcamafia, Assigned: ul-mcamafia)

References

Details

(Keywords: fixed1.9.0.16, regression, Whiteboard: source dir moved strip dirs for patch when applying)

Attachments

(1 file)

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: FIREFOX_3_0_15_RELEASE

Building deps for /home/ulink/Src/mozilla/xpfe/components/filepicker/src/nsWildCard.cpp
xlC_r -o nsWildCard.o -c  -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DOSTYPE=\"AIX5.1\" -DOSARCH=AIX  -I/home/ulink/Src/mozilla/xpfe/components/filepicker/src -I. -I../../../../dist/include/xpcom -I../../../../dist/include/layout -I../../../../dist/include/dom -I../../../../dist/include/string -I../../../../dist/include/locale -I../../../../dist/include/autocomplete -I../../../../dist/include   -I../../../../dist/include/filepicker -I../../../../dist/include/nspr     -I../../../../dist/sdk/include   -qflag=w:w    -qobjmodel=ibm  -DNDEBUG -DTRIMMED -O -qmaxmem=-1 -qalias=noansi   -DMOZILLA_VERSION=\"1.9.0.15\" -DMOZILLA_VERSION_U=1.9.0.15 -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 -DH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S_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_NO_XPCOM_OBSOLETE=1 -DMOZ_XTF=1 -DMOZ_CRASHREPORTER_ENABLE_PERCENT=100 -DMOZ_MATHML=1 -DMOZ_ENABLE_CANVAS=1 -DMOZ_SVG=1 -DMOZ_SVG_FOREIGNOBJECT=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_PLACES=1 -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_SAFE_BROWSING=1 -DMOZ_URL_CLASSIFIER=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_ENABLE_LIBXUL=1 -DHAVE_INTTYPES_H=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_RDF=1 -DMOZ_MORKREADER=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DMOZ_ACCESSIBILITY_ATK=1 -DATK_MAJOR_VERSION=1 -DATK_MINOR_VERSION=12 -DATK_REV_VERSION=3 -DMOZILLA_LOCALE_VERSION=\"1.9a1\" -DMOZILLA_REGION_VERSION=\"1.9a1\" -DMOZILLA_SKIN_VERSION=\"1.8\"  -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT /home/ulink/Src/mozilla/xpfe/components/filepicker/src/nsWildCard.cpp
"/home/ulink/Src/mozilla/xpfe/components/filepicker/src/nsWildCard.cpp", line 449.20: 1540-0274 (S) The name lookup for "ns_WildCardMatch" did not find a declaration.
"/home/ulink/Src/mozilla/xpfe/components/filepicker/src/nsWildCard.cpp", line 449.20: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.
"/home/ulink/Src/mozilla/xpfe/components/filepicker/src/nsWildCard.cpp", line 442.1: 1540-0700 (I) The previous message was produced while processing "NS_WildCardMatch_<unsigned short>(const unsigned short *, const unsigned short *, PRBool)".
"/home/ulink/Src/mozilla/xpfe/components/filepicker/src/nsWildCard.cpp", line 457.12: 1540-0700 (I) The previous message was produced while processing "NS_WildCardMatch(const PRUnichar *, const PRUnichar *, PRBool)".
gmake[2]: *** [nsWildCard.o] Error 1
gmake[2]: Leaving directory `/home/ulink/Src/AIX-51/fx3/xpfe/components/filepicker/src'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/home/ulink/Src/AIX-51/fx3/xpfe/components/filepicker'
gmake: *** [default] Error 2


Reproducible: Always

Steps to Reproduce:
1. Compile on AIX with Visual C++ 6.0 or IBM XLC/C++ 7.0

Actual Results:  
Compilation error

Expected Results:  
Successful compilation

No problem with compiling filepicker component before 3.0.15
Regression of bug 507758
Component: XUL → XUL Widgets
Product: Core → Toolkit
Summary: Compilation Error → Compilation Error AIX filepicker component
QA Contact: xptoolkit.widgets → xul.widgets
Attachment #408335 - Flags: review?(jwalden+bmo)
Comment on attachment 408335 [details] [diff] [review]
Patch for compilation on AIX

It's unfortunate some compilers don't understand this, but oh well...
Attachment #408335 - Flags: review?(jwalden+bmo) → review+
Comment on attachment 408335 [details] [diff] [review]
Patch for compilation on AIX

Applies only to 1.9.0 and 1.9.1 branches
Attachment #408335 - Flags: superreview?(roc)
Duplicate for other branches of bug 497838
Depends on: 497838
Attachment #408335 - Flags: superreview?(roc) → superreview+
Attachment #408335 - Flags: approval1.9.1.5?
Attachment #408335 - Flags: approval1.9.0.16?
Blocks: 507758
Keywords: regression
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → ul.mcamafia
Comment on attachment 408335 [details] [diff] [review]
Patch for compilation on AIX

Approved for 1.9.1.5 and 1.9.0.16, a=dveditz for release-drivers
Attachment #408335 - Flags: approval1.9.1.5?
Attachment #408335 - Flags: approval1.9.1.5+
Attachment #408335 - Flags: approval1.9.0.16?
Attachment #408335 - Flags: approval1.9.0.16+
Keywords: checkin-needed
Whiteboard: source dir moved strip dirs for patch when applying
Checking in xpfe/components/filepicker/src/nsWildCard.cpp;
/cvsroot/mozilla/xpfe/components/filepicker/src/nsWildCard.cpp,v  <--  nsWildCard.cpp
new revision: 1.6; previous revision: 1.5
done
Keywords: fixed1.9.0.16
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/72004f4e186d

Is there anything remaining to do on trunk or is this bug FIXED now?
Newer branches and trunk are fixed by bug 497838
So nothing todo on AIX for filepicker.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Blocks: 537556
Blocks: 537588
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: