Hi all,
I encountered today while trying to build WebKitGTK+ in my old Ubuntu 12.10
box: my compilation failed at
Source/WebCore/Modules/webdatabase/SQLCallbackWrapper.h:79:91 with the
following error:
error: expression 'erroneous-expression = erroneous-expression' is not
a constant-expression
The offending snippet of code is as follows, introduced two days ago in SVN
r167943 [1]:
scriptExecutionContextPtr-postTask({
ScriptExecutionContext::Task::CleanupTask, [=] (ScriptExecutionContext*
context) {
ASSERT_UNUSED(context, context == scriptExecutionContextPtr
context-isContextThread());
callback-deref();
scriptExecutionContextPtr-deref();
} });
After some investigation I found it to be a bug in GCC 4.7.2 (the version
shipped in Ubuntu Quantal), which are fixd now both GCC 4.7.3 and GCC 4.8:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54947
So, just sending this email here to let you know about this, in case you run
into the same issue.
Thanks,
Mario
[1] http://trac.webkit.org/changeset/167943
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev