Hi Behdad,<div><br></div><div>The current revision cannot compile with clang/clang++. Could you take a look?</div><div><br></div><div><div>In file included from hb-blob.cc:30:</div><div>./hb-object-private.hh:177:3: error: invalid use of 'this' outside of a</div>
<div> nonstatic member function</div><div> ASSERT_POD ();</div><div> ^</div><div>In file included from hb-blob.cc:27:</div><div>./hb-private.hh:127:23: note: instantiated from:</div><div># define ASSERT_POD() _ASSERT_POD0 (__LINE__)</div>
<div> ^</div><div>./hb-private.hh:126:30: note: instantiated from:</div><div># define _ASSERT_POD0(_line) _ASSERT_POD1 (_line)</div><div> ^</div><div>./hb-private.hh:125:5: note: instantiated from:</div>
<div> { _ASSERT_INSTANCE_POD1 (_line, *this); /* Make sure it's POD. */ }</div><div> ^</div><div>In file included from hb-blob.cc:30:</div><div>./hb-object-private.hh:177:3: note: instantiated from:</div><div> ASSERT_POD ();</div>
<div> ^</div><div>In file included from hb-blob.cc:27:</div><div>./hb-private.hh:127:23: note: instantiated from:</div><div># define ASSERT_POD() _ASSERT_POD0 (__LINE__)</div><div> ^</div><div>./hb-private.hh:126:30: note: instantiated from:</div>
<div># define _ASSERT_POD0(_line) _ASSERT_POD1 (_line)</div><div> ^</div><div>./hb-private.hh:125:36: note: instantiated from:</div><div> { _ASSERT_INSTANCE_POD1 (_line, *this); /* Make sure it's POD. */ }</div>
<div> ^</div><div>hb-blob.cc:51:3: error: invalid use of 'this' outside of a nonstatic member</div><div> function</div><div> ASSERT_POD ();</div><div> ^</div><div>In file included from hb-blob.cc:27:</div>
<div>./hb-private.hh:127:23: note: instantiated from:</div><div># define ASSERT_POD() _ASSERT_POD0 (__LINE__)</div><div> ^</div><div>./hb-private.hh:126:30: note: instantiated from:</div><div># define _ASSERT_POD0(_line) _ASSERT_POD1 (_line)</div>
<div> ^</div><div>./hb-private.hh:125:5: note: instantiated from:</div><div> { _ASSERT_INSTANCE_POD1 (_line, *this); /* Make sure it's POD. */ }</div><div> ^</div><div>hb-blob.cc:51:3: note: instantiated from:</div>
<div> ASSERT_POD ();</div><div> ^</div><div>In file included from hb-blob.cc:27:</div><div>./hb-private.hh:127:23: note: instantiated from:</div><div># define ASSERT_POD() _ASSERT_POD0 (__LINE__)</div><div> ^</div>
<div>./hb-private.hh:126:30: note: instantiated from:</div><div># define _ASSERT_POD0(_line) _ASSERT_POD1 (_line)</div><div> ^</div><div>./hb-private.hh:125:36: note: instantiated from:</div><div>
{ _ASSERT_INSTANCE_POD1 (_line, *this); /* Make sure it's POD. */ }</div><div> ^</div><div>2 errors generated.</div><br><div class="gmail_quote">On Wed, Jun 6, 2012 at 4:40 PM, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad@behdad.org" target="_blank">behdad@behdad.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
</blockquote></div><br></div>