[Libreoffice-bugs] [Bug 41997] New: EasyHack: cleanup vcl enumeration ...

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 19 16:04:59 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=41997

             Bug #: 41997
           Summary: EasyHack: cleanup vcl enumeration ...
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Libreoffice
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: michael.meeks at novell.com


Currently vcl/inc/vcl/apptypes.hxx exports some enumeration values that are not
namespaced eg. INPUT_MOUSE and INPUT_KEYBOARD.

These conflict with global definitions of the same name on windows causing
annoying warnings.

We should add a VCL_ prefix to those types, and replace across the code-base:
just do a 'git grep INPUT_MOUSE' (and for each value in there) for those and
update them.

sample warning:

windows/solver/wntgcci.pro/inc/vcl/apptypes.hxx:59:0: warning: "INPUT_KEYBOARD"
redefined [enabled by default]
/usr/i686-w64-mingw32/sys-root/mingw/include/winuser.h:2471:0: note: this is
the location of the previous definition

I look forward to the patch ! :-) thanks ...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list