I can build your example just fine with egcs-2.91.42 19980623 on i486-pc-linux-gnu (except that the string constructor is missing). What puzzles me is that you have /usr/local/Gcc/g++-include/sun4.SVR4/2.8.0 in your include path; I guess you'll have to provide pre-processed source. Martin