Concatenating all sources into one has got a name - how weird is this.
Maybe there is a very, very specific reason ( someting like a limited compiler on embedded boards ) what justifies this, but otherwise I don't see any good reason for this "unity" build: only Qwt developers ( = me ) compile the library often and I edit/compile single files what is much faster than rebuilding the complete library each time.
In general I won't take care of having unique names for local static declarations but in case of qwtRenderBackground it is a forgotten temporary implementation that needs to be solved in a different way ( maybe as a method of QwtPainter ).
Uwe
Bookmarks