On second thought, it is a bit pointless to add GCC #pragmas that don't work anyway due to a GCC bug. And the problem goes away when -std=c++0x is embraced in the project.