------- Comment #1 from pinskia at gcc dot gnu dot org 2008-05-20 13:26 ------- I really don't see the issue here really, if you don't setup your include pathes correctly to include the object directory first, that seems like your issue rather than a limitation of GCC.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36277