[odb-users] Building odb-tests-2.2.0 on Mac with gcc-4.8.0: make errors

Boris Kolpackov boris at codesynthesis.com
Sat May 11 16:40:53 EDT 2013


Hi,

skh <skh1002 at gmail.com> writes:

> 	./test-odb.hxx:109:7: error: ‘image_type’ in ‘class
> 		odb::access::composite_value_traits<timeval, (odb::database_id)1u>’
> 		does not name a type
> 	composite_value_traits< ::timeval, id_sqlite >::image_type time_value;

That's very strange. This test works just fine for me.

The composite_value_traits<timeval, id_sqlite> specialization should be
defined by the generated time-mapping-odb.hxx file. Can you check that
this file is in fact generated and that it defines this specialization
which in turn defines the image_type struct?

Boris



More information about the odb-users mailing list