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: [email protected]
        ReportedBy: [email protected]


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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to