[odb-users] compiling under MinGW

Boris Kolpackov boris at codesynthesis.com
Tue Dec 16 04:57:58 EST 2014


Hi Christian,

Christian Sell <christian at gsvitec.com> writes:

> And finally: the solution. Simply adding a "--std c++11" option (and
> removing the -I) did the job.

Yep, that's what I thought it was.


> Trying to use the completely outdated mingw compiler from the odb
> distro is not an option. Seems like we're lost with mingw32 and odb. 
> 
> When I first saw the ODB pragma syntax, I was intrigued by the approach for
> maintaining mapping info. Meanwhile, I am not sure at all..

Next time, instead of spending time on making dramatic statements like
these, I suggest that you provide more precise and detailed information
about your situation. Things like "here is my source code", "here are
the ODB and C++ compiler command lines I use", etc. When you say
'shared_ptr', it can be Boost shared_ptr, C++98 TR1 shared_ptr, or
C++11 shared_ptr. Each of those cases would lead to a very different
possible solution. So when I saw your email, I didn't really feel like
guessing which one it was or, worse, describing possible next steps for
each of them.

So, next time, help me to help you by describing your situation precisely.

Boris



More information about the odb-users mailing list