To provide some background information, this problem is caused by a behaviour change of gcc version 4.4 and later.
The new behaviour documented by GCC: http://gcc.gnu.org/gcc-4.4/porting_to.html
More information: http://www.cyrius.com/journal/gcc/gcc-4.4-preprocessor-errors http://gcc.gnu.org/viewcvs?view=revision&revision=136209