On 21.12.2011 20:43, Pavel Janík wrote:
Armin,

On Dec 21, 2011, at 1:36 PM, Armin Le Grand wrote:

I'm also confused now, I just built the mac version with '--enable-werror', no 
problem. Trying Linux now...


what Mac OS X system and compiler are you using?

I cannot check right now, I'm away from the mac...

I use gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) on 10.6.8.

The warning is:

cc1plus: warnings being treated as errors
/Users/pavel/BUILD/BuildDir/ooo_trunk_src/drawinglayer/source/primitive2d/patternfillprimitive2d.cxx:146:
 warning: unused parameter ‘rViewInformation’

The code there is:

         basegfx::B2DRange PatternFillPrimitive2D::getB2DRange(const 
geometry::ViewInformation2D&  rViewInformation) const
         {
             return getMask().getB2DRange();
         }

and rViewInformation is really unused there.

Yes, please feel free to change 'rViewInformation' -> /*rViewInformation*/. It's only used in view-dependent primitives.

Sincerely,
        Armin
--
ALG

Reply via email to