[odb-users] ODB + filesystem

Tiago Macarios tiagomacarios at gmail.com
Mon Oct 10 16:53:10 EDT 2016


Hi Boris, Andrew,

Yup I ended up "faking" the header. Seems to be working.

Let me know when you update the compiler so I can revert the changes I made
=)

Tiago

On Mon, Oct 10, 2016 at 6:59 AM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Hi Tiago,
>
> Tiago Macarios <tiagomacarios at gmail.com> writes:
>
> >        #include <filesystem>
> >
> > I guess it is because the ODB compiler is based on GCC 4.9.3 and the
> > filesystem libraries are only available after 5.3. What is the best thing
> > to do here?
> >
> > Is there a windows build of the compiler on a more updated version of GCC
> > (say 6.2)?
>
> No, not yet. Updating GCC for the Windows build of ODB is a bit of a
> procedure.
>
> Are you actually persisting any types from <filesystem> in the database?
> If not, then perhaps you could exclude it from the ODB compilation
> (ODB_COMPILER macro) or provide a dummy one?
>
> Boris
>
>


More information about the odb-users mailing list