<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It looks like you are compiling with and EDG-based compiler front end.
EDG can indeed be more strict than other compilers in some cases. My
experience is typically (though not certainly) that when EDG gives you
an error like below then it is correct. So you probably have a case of
code that in some sense is not entirely correct but GCC and VC++ are
accepting it. Often these kinds of things have to do with implicit
conversions, argument-dependent-lookup, or some tricky friend/namespace
kind of thing. <br>
<br>
I don't yet have my EDG compiler pointing at WebKit, so I can't try
this on my side. However, to debug this I would investigate the
operands. It is saying that there is no operator ==, so what you want
to do is look at the explicit operand types. In other words, what
exactly is the type of Extractor::extract(value) and
KeyTraits::emptyValue? They probably aren't the exact same type and so
there may be an implicit conversion expected or there may be a custom
operator == to deal with the types. So find out what operator == *is
intended* to execute and with what operands. What are the namespaces of
the operands? Are there conversions required? etc. Making an operator==
that has exact type matches probably fixes the problem.<br>
<br>
Paul<br>
<br>
<br>
<blockquote
cite="mid:dfbd4d980808120714h7a343a2bs183f00f37da8561a@mail.gmail.com"
type="cite">
<div>Hi,</div>
<div> I am trying to build WebKit release version 31916 (sorry
for using such an old version :-) ) using arm compiler. The compiler
appears to be very strict and as a result, I am getting several
errors. If anyone has encountered the following errors or has any
suggestions, please let me know.</div>
<div> </div>
<div> Here are the errors seen while compiling
/WebCore/dom/StyledElement.cpp. I am also attaching the complete build
log.</div>
<div> </div>
<div>1. "<a moz-do-not-send="true"
href="file://WebKit/JavaScriptCore/wtf/HashTable.h">\\WebKit\JavaScriptCore\wtf/HashTable.h</a>",
line 334: Error: #349: no operator "==" matches these operands<br>
operand types are: const
std::pair<WTF::GenericHashTraitsBase<false,
WebCore::MappedAttributeKey>::TraitType,
WTF::GenericHashTraitsBase<true, int>::TraitType>::first_type
== WebCore::MappedAttributeKey<br>
static bool isEmptyBucket(const ValueType& value) {
return Extractor::extract(value) == KeyTraits::emptyValue(); }<br>
</div>
<div>2. <a moz-do-not-send="true"
href="file://WebKit/JavaScriptCore/wtf/HashTable.h">\\WebKit\JavaScriptCore\wtf/HashTable.h</a>",
line 335: Error: #349: no operator "==" matches these operands<br>
operand types are: const
std::pair<WTF::GenericHashTraitsBase<false,
WebCore::MappedAttributeKey>::TraitType,
WTF::GenericHashTraitsBase<true, int>::TraitType>::first_type
== WebCore::MappedAttributeKey<br>
static bool isDeletedBucket(const ValueType& value) {
return Extractor::extract(value) == KeyTraits::deletedValue(); }<br>
</div>
<div>3. "<a moz-do-not-send="true"
href="file://WebKit/JavaScriptCore/wtf/HashMap.h">\\WebKit\JavaScriptCore\wtf/HashMap.h</a>",
line 154: Error: #349: no operator "==" matches these operands<br>
operand types are: WTF::GenericHashTraitsBase<false,
WebCore::MappedAttributeKey>::TraitType ==
WebCore::MappedAttributeKey<br>
if (location.first == KeyStorageTraits::deletedValue())<br>
</div>
<div> Note:- I have already tried to use the bug fix which
went in Revision 32609 (rdar://problem/5657459), however, my issues
were still not fixed.</div>
<div> </div>
<div>Thanks,</div>
<div>Tuheen</div>
<pre wrap=""><pre wrap="">
<hr size="4" width="90%">
_______________________________________________
webkit-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a>
<a class="moz-txt-link-freetext" href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev">http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev</a>
</pre></pre>
</blockquote>
<br>
</body>
</html>