Compiling m222 unxlngi4.pro (g++ 3.3.5) I get $SRC_ROOT/basebmp/source/bitmapdevice.cxx: In member function `void basebmp::BitmapDevice::drawMaskedColor(basebmp::Color, const basebmp::BitmapDeviceSharedPtr&, const basegfx::B2IRange&, const basegfx::B2IPoint&)': $SRC_ROOT/basebmp/source/bitmapdevice.cxx:1468: error: type specifier omitted for parameter `aSize' $SRC_ROOT/basebmp/source/bitmapdevice.cxx:1472: error: no matching function for call to `basebmp::BitmapDevice::drawBitmap(const boost::shared_ptr&, basegfx::B2IRange&, const basegfx::B2IRange (&)(basegfx::B2ITuple (*)()), basebmp::DrawMode)' and lots of similar errors. $SRC_ROOT/basebmp/source/bitmapdevice.cxx around those lines: /* 1462 */ const basegfx::B2ITuple aSize( aSrcRange.getWidth(), /* 1463 */ aSrcRange.getHeight() ); /* 1464 */ BitmapDeviceSharedPtr pAlphaCopy( /* 1465 */ cloneBitmapDevice( aSize, /* 1466 */ shared_from_this()) ); basegfx::B2ITuple aGcc3WorkaroundTemporary; const basegfx::B2IRange aAlphaRange( aGcc3WorkaroundTemporary, aSize ); /* 1469 */ pAlphaCopy->drawBitmap(rAlphaMask, /* 1470 */ aSrcRange, /* 1471 */ aAlphaRange, /* 1472 */ DrawMode_PAINT); /* 1473 */ drawMaskedColor_i( aSrcColor, pAlphaCopy, aAlphaRange, aDestPoint );