look in gcc/cp/lang_specs.h %{!Wno-deprecated:-D__DEPRECATED}\ this is correct for gcc-3.1 > (gcc 3.0.3). but might not be correct on the branch. -benjamin