Closed Bug 527913 Opened 15 years ago Closed 14 years ago

nsComboboxControlFrame.cpp fails to compile on Fedora 12

Categories

(Core :: Layout, defect)

1.9.2 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 512190

People

(Reporter: stransky, Unassigned)

Details

error: nsComboboxControlFrame.cpp c++ -o nsComboboxControlFrame.o -c -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -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=\"Linux2.6.31.5-122.fc12.i686\" -DOSARCH=Linux -D_IMPL_NS_LAYOUT -I./../base -I./../generic -I./../xul/base/src -I./../../content/base/src -I./../../content/html/content/src -I. -I. -I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr4 -I/usr/include/nss3 -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-long-long -pedantic -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsComboboxControlFrame.pp nsComboboxControlFrame.cpp ./../generic/nsFrame.h: In member function ‘virtual nsIFrame* nsComboboxControlFrame::CreateFrameFor(nsIContent*)’: ./../generic/nsFrame.h:171: error: ‘static void nsFrame::operator delete(void*, size_t)’ is protected nsComboboxControlFrame.cpp:1177: error: within this context make[1]: *** [nsComboboxControlFrame.o] Error 1 make[1]: Leaving directory `/home/komat/CVS/xulrunner/devel/xulrunner-1.9.2.1/mozilla-1.9.2/layout/forms' with: gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7) Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. from nsFrame.h:171 protected: // Overridden to prevent the global delete from being called, since // the memory came out of an arena instead of the heap. // // Ideally this would be private and undefined, like the normal // operator new. Unfortunately, the C++ standard requires an // overridden operator delete to be accessible to any subclass that // defines a virtual destructor, so we can only make it protected; // worse, some C++ compilers will synthesize calls to this function // from the "deleting destructors" that they emit in case of // delete-expressions, so it can't even be undefined. void operator delete(void* aPtr, size_t sz); nsComboboxControlFrame.cpp:1177: // Start by by creating our anonymous block frame >>> mDisplayFrame = new (shell) nsComboboxDisplayFrame(styleContext, this); if (NS_UNLIKELY(!mDisplayFrame)) { return nsnull; }
Probably duplicate of bug 512190.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.