[HarfBuzz] HarfBuzz clean of static initializers now, EOM
Kenichi Ishibashi
bashi at chromium.org
Wed Jun 6 02:47:40 PDT 2012
Hi Behdad,
The current revision cannot compile with clang/clang++. Could you take a
look?
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> wrote:
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20120606/ddd4b0df/attachment.html>
More information about the HarfBuzz
mailing list