[odb-users] Intermittent problems building solution

Boris Kolpackov boris at codesynthesis.com
Thu Jul 18 09:10:19 EDT 2013


Hi Hugo,

Hugo.Mildenberger at web.de <Hugo.Mildenberger at web.de> writes:

> Yet I think there is a flexible solution for this problem: if one regards
> the stack of errors generated by the compiler as a pattern with a typical
> structure (with place holders for the variable elements), one should be
> able to write a filter which reduces the stack and outputs a clear
> message instead (much like those you've hitherto written into the ODB
> headers).

Interesting idea. One thing to keep in mind is that these are the
errors from the C++ compiler, not the ODB compiler. I.e., the user
is compiling his code with his C++ compiler long after the ODB
compiler has run.

So we would need to somehow filter the errors from the user's C++
compiler invocation. And we will have to do it for quite a few C++
compiler brands/versions (GCC, Clang, VC++, Sun CC). Sounds like
quite a project on its own.

Boris



More information about the odb-users mailing list