[odb-users] clang says object_id is a dependent template name

Boris Kolpackov boris at codesynthesis.com
Tue Jul 3 10:38:33 EDT 2012


Hi Daniel,

Daniel James <danielpeterjames at gmail.com> writes:

> Around line 176 in lazy-ptr.ixx, as per the code snippet below, (and
> elsewhere), a recent clang is objecting* and suggesting that object_id
> is a dependent template name in need of the template keyword being
> inserted.

Yes, I've upgraded to 3.1 and I see the same errors. Here are the patches:

libodb:        http://scm.codesynthesis.com/?p=odb/libodb.git;a=commit;h=801cee821949ccafd644b06364c0a2c01148e63a
libodb-boost:  http://scm.codesynthesis.com/?p=odb/libodb-boost.git;a=commit;h=b7b8e270fd97671c61e805aa4271cf345d7113e7
libobd-qt:     http://scm.codesynthesis.com/?p=odb/libodb-qt.git;a=commit;h=e0dc0c1f005f36063e08c61de2754c4360103695

Thanks for reporting this!

Boris



More information about the odb-users mailing list