As I noted above the build failure is triggered by "-fkeep-inline-functions", so you won't see it unless you turn off your pretty release flags and add this. I generally use this configurations for debug, but mostly for small projects. As it reveals now most complicated sets of interlinked libraries with lots of inlines (like Qt4 and kdelibs) are end up with FTBFS in such cases, so you may consider this a false alarm... Particularly this FTBFS is caused by a bit sloppy inclusion of tdeui headers to tdelibs, but this will be a bit hard one to workaround, so nevermind...
Ok, I can reproduce the exact same FTBFS in my system as well when I use "-fkeep-inline-functions". Question: based on your experience, do you think it is worth spending time to look and fix this kind of problems across all TDE code? I am thinking in terms of time required vs. benefit. Cheers Michele