I got errors when I use the MIRACL Cryptographic SDK
<p>In class ECn.h, has the definition:</p>

<pre><code>friend BOOL operator==(const ECn&amp; a,const ECn&amp; b) {
    return epoint_comp(a.p,b.p);
}
</code></pre>

<p>We have defined a ECn as a member of class G2，when defined this statement: </p>

<pre><code>friend BOOL operator==(G2&amp; x,G2&amp; y) {
    if (x.g==y.g) 
        return TRUE;
    else 
        return FALSE;
}
</code></pre>

<p>When I used VC6 to build my project，I got the error：</p>

<blockquote>
  <p>error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'const class ECn' (or there is no acceptable conversion)</p>
</blockquote>

<p>Why？ Pleas help me.</p>
