>It turns out that the suggested '-fpermissive' fixes it. From my build-logs,
>it worked fine without it on Oct 21 with the then-current g++-4.0 (4.0.2-2,
>judging from its changelog). The current one is 4.0.2-4 with the changed
>allocator, and something must have changed along with it.
>
>But then given the speed with which things move around here, it probably has
>long been updated in CVS anyway :)
>
>
>
Yup.... The problem was that quote.hpp had a template with a #define
macro that was confusing the compiler. The solution was to include
<ql/error.h> so that the macro gets expanded before the compiler sees it.