
On 4/15/04 3:20 AM, "Brian McNamara" <lorgon@cc.gatech.edu> wrote: [SNIP]
More generally, I would really like a Boost library which lets me generate custom error messages portably.
I don't think that's possible. I think error messages are a quality-of-implementation issue. There's nothing preventing a compiler from useless saying "diagnostic found" upon hitting the first error. [SNIP]
In the long run, there really needs to be language support for meta-programs to generate legible diagnostics, but in the meantime, I would love a stopgap solution along the lines above. I think it would "only" involve the work of finding the best "trick" for each compiler brand/version. Perhaps a little concerted effort would discover one trick which worked well across many compilers.
Is there interest in this?
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com