.: 2 commits - configure.in sw/source

Michael Stahl mstahl at redhat.com
Wed Feb 15 08:48:16 PST 2012


On 13/02/12 09:39, Tor Lillqvist wrote:

> commit b7980663f0866629e7c54a085f31dba3d9c26b26
> Author: Tor Lillqvist <tlillqvist at suse.com>
> Date:   Mon Feb 13 09:42:39 2012 +0200
> 
>     WaE: type name first seen using 'class' now seen using 'struct'

IMHO this is an utterly pointless warning, because the only difference
between "class" and "struct" is the default visibility of the members,
and a forward declaration doesn't declare any members, so i completely
fail to see what actual problem could be caused by this.

could this warning be turned off? (it is MSVC, right?)

> diff --git a/sw/source/ui/inc/FrameControl.hxx b/sw/source/ui/inc/FrameControl.hxx
> index cf887a9..53976f8 100644
> --- a/sw/source/ui/inc/FrameControl.hxx
> +++ b/sw/source/ui/inc/FrameControl.hxx
> @@ -30,7 +30,7 @@
>  
>  class SwEditWin;
>  class SwFrm;
> -struct Point;
> +class Point;
>  
>  /** Class representing a control linked to a SwFrm.
>    */




More information about the LibreOffice mailing list