Changeset 113848 in webkit
- Timestamp:
- Apr 11, 2012 4:23:19 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r113846 r113848 1 2012-04-11 Andras Becsi <andras.becsi@nokia.com> 2 3 Fix the build with gcc 4.7.0 4 https://bugs.webkit.org/show_bug.cgi?id=83584 5 6 Reviewed by Alexey Proskuryakov. 7 8 No new tests needed. 9 10 * Target.pri: Disable Werror on the ANGLE code since it has several recurring issues 11 because older versions of flex (<2.5.35) and bison (<2.5) generate code which 12 triggers warnings. This generated code is committed on each version update of ANGLE, 13 and it is very likely that the code is generated with older versions of the mentioned 14 tools. 15 * html/HTMLImageElement.cpp: 16 (WebCore::HTMLImageElement::createForJSConstructor): Fails because of -Werror=extra 17 * platform/graphics/TiledBackingStoreClient.h: Fails because -Werror=delete-non-virtual-dtor, 18 gcc requires classes which have virtual methods to have a virtual destructor, if their instances 19 or the instances of their subclasses are deleted. 20 (WebCore::TiledBackingStoreClient::~TiledBackingStoreClient): 21 * platform/graphics/texmap/TextureMapperPlatformLayer.h: Ditto. 22 (WebCore::TextureMapperPlatformLayer::~TextureMapperPlatformLayer): 23 1 24 2012-04-11 Kent Tamura <tkent@chromium.org> 2 25 -
trunk/Source/WebCore/Target.pri
r113842 r113848 3959 3959 ANGLE_CFLAGS += -Wno-unused-function 3960 3960 ANGLE_CFLAGS += -Wno-reorder 3961 ANGLE_CFLAGS += -Wno-error 3961 3962 3962 3963 angle_cxx.commands = $$QMAKE_CXX -c $(CXXFLAGS) $$ANGLE_CFLAGS $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT} -
trunk/Source/WebCore/html/HTMLImageElement.cpp
r113317 r113848 74 74 if (optionalWidth) 75 75 image->setWidth(*optionalWidth); 76 if (optionalHeight > 0)76 if (optionalHeight) 77 77 image->setHeight(*optionalHeight); 78 78 return image.release(); -
trunk/Source/WebCore/platform/graphics/TiledBackingStoreClient.h
r97571 r113848 30 30 class TiledBackingStoreClient { 31 31 public: 32 virtual ~TiledBackingStoreClient() { } 32 33 virtual void tiledBackingStorePaintBegin() = 0; 33 34 virtual void tiledBackingStorePaint(GraphicsContext*, const IntRect&) = 0; -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayer.h
r107707 r113848 30 30 class TextureMapperPlatformLayer { 31 31 public: 32 virtual ~TextureMapperPlatformLayer() { } 32 33 virtual void paintToTextureMapper(TextureMapper*, const FloatRect&, const TransformationMatrix& modelViewMatrix = TransformationMatrix(), float opacity = 1.0, BitmapTexture* mask = 0) = 0; 33 34 virtual void swapBuffers() { } -
trunk/Tools/ChangeLog
r113839 r113848 1 2012-04-11 Andras Becsi <andras.becsi@nokia.com> 2 3 Fix the build with gcc 4.7.0 4 https://bugs.webkit.org/show_bug.cgi?id=83584 5 6 Reviewed by Alexey Proskuryakov. 7 8 * qmake/mkspecs/features/unix/default_post.prf: 9 The -fuse-ld=gold option is not supported with upstream gcc. 10 1 11 2012-04-11 Ryosuke Niwa <rniwa@webkit.org> 2 12 -
trunk/Tools/qmake/mkspecs/features/unix/default_post.prf
r113330 r113848 41 41 } else { 42 42 # Use gold if available 43 !scratchbox:!mac:exists(/usr/bin/ld.gold): QMAKE_LFLAGS += -fuse-ld=gold 43 !scratchbox:!mac:exists(/usr/bin/ld.gold) { 44 # Upstream gcc 4.7 does not support the -fuse-ld=gold option ( see: http://sourceware.org/ml/binutils/2011-01/msg00178.html ) 45 isEqual(QT_GCC_MAJOR_VERSION, 4):lessThan(QT_GCC_MINOR_VERSION, 7):QMAKE_LFLAGS += -fuse-ld=gold 46 } 44 47 } 45 48
Note: See TracChangeset
for help on using the changeset viewer.