Bug 19969 - gcc 3.4.6 compiler bug
Summary: gcc 3.4.6 compiler bug
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-10 01:48 PDT by ./C
Modified: 2008-08-11 16:12 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ./C 2008-07-10 01:48:02 PDT
There's a bug for gcc-3.4.6 on hardened gentoo.. I haven't confirmed against a vanilla build, but it's a recent regression and two line fix.

--- WebKit-r35067/WebCore/svg/SynchronizableTypeWrapper.h.orig  2008-07-10 05:36:20.000000000 +0200
+++ WebKit-r35067/WebCore/svg/SynchronizableTypeWrapper.h       2008-07-10 05:37:28.000000000 +0200
@@ -159,7 +159,7 @@
     inline SynchronizableTypeWrapper<RefPtr<StoredPointerType> >::SynchronizableTypeWrapper(const PassRefPtr<StoredPointerType>& type)
         : Base()
     {
-        m_value = type;
+        this->m_value = type;
     }

     template<typename StoredPointerType>
@@ -172,7 +172,7 @@
     template<typename StoredPointerType>
     inline SynchronizableTypeWrapper<RefPtr<StoredPointerType> >::operator StoredPointerType*() const
     {
-        return m_value.get();
+        return this->m_value.get();
     }

 };
Comment 1 Sébastien Roret 2008-07-11 05:22:00 PDT
It also happens to me with rev 35068.
I'm compiling inside Maemo's SDK which uses gcc 3.4.4

The fix works for me also.
Comment 2 Alexey Proskuryakov 2008-07-15 15:11:56 PDT
Would you be willing to submit the patch according to <http://webkit.org/coding/contributing.html>?
Comment 3 Sébastien Roret 2008-07-16 08:33:51 PDT
Alexey, it seems that this has been fixed in r35158. It works now, thanks.