[odb-users] migration compiler problem.

Lidia Kalinovsky lidia at lemur-soft.com
Wed Jan 15 07:33:48 EST 2014


Hello

We use odb inside static library.

There is problem in MS VS that static initialization of create_schema and
migrate_schema function initialization
( for example,
static const schema_catalog_create_entry
  create_schema_entry_ (
    id_sqlite,
    "",
    &create_schema);
)
is not called when xxx-schema.cxx file, created with --schema-format
separate flag, is inside static library.

It's ok when this file is linked directly to the executable.

Could you advice please ?

Thanks.
Lidia.

-- 
Software integration and outsourcing services,
Lemur-Soft, Giv'at Nili
Israel, 37825
Phone : (+972) 545748325
Fax : (+972) 775345383
Email : lidia at lemur-soft.com
Web: www.lemur-soft.com


More information about the odb-users mailing list