[HarfBuzz] HarfBuzz clean of static initializers now, EOM
Behdad Esfahbod
behdad at behdad.org
Wed Jun 6 08:17:01 PDT 2012
Hi bashi,
On 06/06/2012 05:47 AM, Kenichi Ishibashi wrote:
> Hi Behdad,
>
> The current revision cannot compile with clang/clang++. Could you take a look?
Ah, yes, that "bug". I don't have clang handy right now, but will commit what
I believe should fix it. Will test tomorrow.
behdad
> In file included from hb-blob.cc:30:
> ./hb-object-private.hh:177:3: error: invalid use of 'this' outside of a
> nonstatic member function
> ASSERT_POD ();
> ^
> In file included from hb-blob.cc:27:
> ./hb-private.hh:127:23: note: instantiated from:
> # define ASSERT_POD() _ASSERT_POD0 (__LINE__)
> ^
> ./hb-private.hh:126:30: note: instantiated from:
> # define _ASSERT_POD0(_line) _ASSERT_POD1 (_line)
> ^
> ./hb-private.hh:125:5: note: instantiated from:
> { _ASSERT_INSTANCE_POD1 (_line, *this); /* Make sure it's POD. */ }
> ^
> In file included from hb-blob.cc:30:
> ./hb-object-private.hh:177:3: note: instantiated from:
> ASSERT_POD ();
> ^
> In file included from hb-blob.cc:27:
> ./hb-private.hh:127:23: note: instantiated from:
> # define ASSERT_POD() _ASSERT_POD0 (__LINE__)
> ^
> ./hb-private.hh:126:30: note: instantiated from:
> # define _ASSERT_POD0(_line) _ASSERT_POD1 (_line)
> ^
> ./hb-private.hh:125:36: note: instantiated from:
> { _ASSERT_INSTANCE_POD1 (_line, *this); /* Make sure it's POD. */ }
> ^
> hb-blob.cc:51:3: error: invalid use of 'this' outside of a nonstatic member
> function
> ASSERT_POD ();
> ^
> In file included from hb-blob.cc:27:
> ./hb-private.hh:127:23: note: instantiated from:
> # define ASSERT_POD() _ASSERT_POD0 (__LINE__)
> ^
> ./hb-private.hh:126:30: note: instantiated from:
> # define _ASSERT_POD0(_line) _ASSERT_POD1 (_line)
> ^
> ./hb-private.hh:125:5: note: instantiated from:
> { _ASSERT_INSTANCE_POD1 (_line, *this); /* Make sure it's POD. */ }
> ^
> hb-blob.cc:51:3: note: instantiated from:
> ASSERT_POD ();
> ^
> In file included from hb-blob.cc:27:
> ./hb-private.hh:127:23: note: instantiated from:
> # define ASSERT_POD() _ASSERT_POD0 (__LINE__)
> ^
> ./hb-private.hh:126:30: note: instantiated from:
> # define _ASSERT_POD0(_line) _ASSERT_POD1 (_line)
> ^
> ./hb-private.hh:125:36: note: instantiated from:
> { _ASSERT_INSTANCE_POD1 (_line, *this); /* Make sure it's POD. */ }
> ^
> 2 errors generated.
>
> On Wed, Jun 6, 2012 at 4:40 PM, Behdad Esfahbod <behdad at behdad.org
> <mailto:behdad at behdad.org>> wrote:
>
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org <mailto:HarfBuzz at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
>
More information about the HarfBuzz
mailing list