Closed Bug 292259 Opened 19 years ago Closed 19 years ago

inconsistent dll linkage because _IMPL_NS_COM isn't used in glue but NS_COM is used

Categories

(Core :: XPCOM, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 314015

People

(Reporter: timeless, Assigned: dougt)

Details

R:\mozilla\rel-i686-pc-cygwin\xpcom\glue>make nsComponentManagerUtils.i
Removing old dependencies file, .deps/.all.pp
/cygdrive/r/mozilla/build/cygwin-wrapper cl -C -E  -DOSTYPE=\"WINNT5.1\"
-DOSARCH=\"WINNT\" -DBUILD_ID=0000000000 -DMOZILLA_STRICT_API
-I/cygdrive/r/mozilla/xpcom/glue/../build  -I../../dist/include/string
-I../../dist/include/xpcom -I../../dist/include -I../../dist/include/nspr      
   -TP -nologo -W3 -Gy -Fdxpcomglue_s.pdb  -DNDEBUG -DTRIMMED -Zi -O1 -UDEBUG
-DNDEBUG -MD            -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.8b2\"
-DHAVE_SNPRINTF=1 -D_WINDOWS=1 -D_WIN32=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1
-DHW_THREADS=1 -DWINVER=0x400 -DSTDC_HEADERS=1 -DWIN32_LEAN_AND_MEAN=1
-DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_DEFAULT_TOOLKIT=\"windows\"
-DMOZ_BUILD_APP=suite -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DOJI=1 -DIBMBIDI=1
-DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1
-DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\"Mozilla\"
-DMOZ_XUL=1 -DMOZ_PROFILESHARING=1 -DMOZ_PROFILELOCKING=1
-DMOZ_DLL_SUFFIX=\".dll\" -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1
-DMOZILLA_LOCALE_VERSION=\"1.8b2\" -DMOZILLA_REGION_VERSION=\"1.8b2\"
-DMOZILLA_SKIN_VERSION=\"1.5\"  -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT
/cygdrive/r/mozilla/xpcom/glue/nsComponentManagerUtils.cpp >
nsComponentManagerUtils.i
nsComponentManagerUtils.cpp

R:\mozilla\rel-i686-pc-cygwin\xpcom\glue>perl -pi.0 -e "s|#line|//#line|g"
nsComponentManagerUtils.i

R:\mozilla\rel-i686-pc-cygwin\xpcom\glue>cl /Tp nsComponentManagerUtils.i
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

nsComponentManagerUtils.i
nsComponentManagerUtils.i(17954) : warning C4273:
'nsCreateInstanceByCID::operator`()'' : inconsistent dll linkage
nsComponentManagerUtils.i(17965) : warning C4273:
'nsCreateInstanceByContractID::operator`()'' : inconsistent dll linkage
nsComponentManagerUtils.i(17976) : warning C4273:
'nsCreateInstanceFromFactory::operator`()'' : inconsistent dll linkage
nsComponentManagerUtils.i(17988) : warning C4273:
'nsGetClassObjectByCID::operator`()'' : inconsistent dll linkage
nsComponentManagerUtils.i(17999) : warning C4273:
'nsGetClassObjectByContractID::operator`()'' : inconsistent dll linkage
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

*** This bug has been marked as a duplicate of 314015 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.