Closed Bug 666605 Opened 14 years ago Closed 11 years ago

xpcom/glue/standalone/nsGlueLinkingOSX.cpp - warnings & deprecated symbol refs [-Wdeprecated-declarations]

Categories

(Core :: XPCOM, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: joey, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

bash-3.2$ uname -a Darwin banshee.local 10.7.4 Darwin Kernel Version 10.7.4: Mon Apr 18 21:24:17 PDT 2011; root:xnu-1504.14.12~3/RELEASE_X86_64 x86_64 % make g++-4.2 -o nsGlueLinkingOSX.o -c -fvisibility=hidden -DOSTYPE=\"Darwin10.7.4\" -DOSARCH=Darwin -DXPCOM_GLUE -DTARGET_XPCOM_ABI=\"x86_64-gcc3\" -I/mozilla/sandbox/gml/xpcom/glue/standalone/../../build -I/mozilla/sandbox/gml/xpcom/glue/standalone -I. -I../../../dist/include -I../../../dist/include/nsprpub -I/mozilla/sandbox/gml/obj-ff-dbg/dist/include/nspr -I/mozilla/sandbox/gml/obj-ff-dbg/dist/include/nss -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -isysroot /Developer/SDKs/MacOSX10.6.sdk -fno-strict-aliasing -fno-common -fshort-wchar -pthread -DNO_X11 -pipe -DDEBUG -D_DEBUG -DTRACING -g -DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MF .deps/nsGlueLinkingOSX.pp /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp /mozilla/sandbox/gml/obj-ff-dbg/config/nsinstall -D ../../../dist/sdk/lib /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp: In function 'void preload(const char*)': /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:152: warning: comparison between signed and unsigned integer expressions /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp: In function 'void ReadDependentCB(const char*, PRBool)': /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:174: warning: 'NSAddImage' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:229) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:176: warning: 'NSAddImage' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:229) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp: In function 'void* LookupSymbol(const mach_header*, const char*)': /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:190: warning: 'NSLookupSymbolInImage' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:181) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:192: warning: 'NSLookupSymbolInImage' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:181) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:194: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:175) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:194: warning: 'NSIsSymbolNameDefined' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:175) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:195: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:178) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:195: warning: 'NSLookupAndBindSymbol' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:178) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:200: warning: 'NSAddressOfSymbol' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:187) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:200: warning: 'NSAddressOfSymbol' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:187) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp: In function 'nsresult XPCOMGlueLoad(const char*, nsresult (**)(XPCOMFunctions*, const char*))': /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:219: warning: 'NSAddImage' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:229) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:222: warning: 'NSAddImage' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:229) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:226: warning: 'NSAddImage' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:229) /mozilla/sandbox/gml/xpcom/glue/standalone/nsGlueLinkingOSX.cpp:229: warning: 'NSAddImage' is deprecated (declared at /Developer/SDKs/MacOSX10.6.sdk/usr/include/mach-o/dyld.h:229)
Whiteboard: [build_warnings]
Whiteboard: [build_warnings] → [build_warning]
Blocks: buildwarning
Simpler list: xpcom/glue/standalone/nsGlueLinkingOSX.cpp:140:12 [-Wdeprecated-declarations] 'NSAddImage' is deprecated: first deprecated in Mac OS X 10.5 xpcom/glue/standalone/nsGlueLinkingOSX.cpp:156:15 [-Wdeprecated-declarations] 'NSLookupSymbolInImage' is deprecated: first deprecated in Mac OS X 10.5 xpcom/glue/standalone/nsGlueLinkingOSX.cpp:160:13 [-Wdeprecated-declarations] 'NSIsSymbolNameDefined' is deprecated: first deprecated in Mac OS X 10.4 xpcom/glue/standalone/nsGlueLinkingOSX.cpp:161:19 [-Wdeprecated-declarations] 'NSLookupAndBindSymbol' is deprecated: first deprecated in Mac OS X 10.4 xpcom/glue/standalone/nsGlueLinkingOSX.cpp:166:12 [-Wdeprecated-declarations] 'NSAddressOfSymbol' is deprecated: first deprecated in Mac OS X 10.5 xpcom/glue/standalone/nsGlueLinkingOSX.cpp:185:32 [-Wdeprecated-declarations] 'NSAddImage' is deprecated: first deprecated in Mac OS X 10.5 xpcom/glue/standalone/nsGlueLinkingOSX.cpp:192:15 [-Wdeprecated-declarations] 'NSAddImage' is deprecated: first deprecated in Mac OS X 10.5 xpcom/glue/standalone/nsGlueLinkingOSX.cpp:202:13 [-Wdeprecated-declarations] 'NSLinkEditError' is deprecated: first deprecated in Mac OS X 10.5
Summary: xpcom/glue/standalone/nsGlueLinkingOSX.cpp - warnings & deprecated symbol refs → xpcom/glue/standalone/nsGlueLinkingOSX.cpp - warnings & deprecated symbol refs [-Wdeprecated-declarations]
Bug 852950 removed nsGlueLinkingOSX.cpp.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.