[odb-users] Intermittent problems building solution

Adam Walters adam at navigatesurgical.com
Thu Jul 18 11:06:40 EDT 2013


Boris,
Yes, it's probably well outside the scope of what you want to focus on. I spent some frustrating time with this until I found the problem so I just wanted to share my findings in the hope it might save others the same experience!

Cheers,
Adam
________________________________________
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: July-18-13 6:10 AM
To: Hugo.Mildenberger at web.de
Cc: odb-users at codesynthesis.com; Adam Walters
Subject: Re: [odb-users] Intermittent problems building solution

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