Lots of "Warning: C4005 'WIN32_LEAN_AND_MEAN' : macro redefinition" and "Warning: C4146 unary minus operator applied to unsigned type" when building in MSVC

NEW
Unassigned

Status

()

Core
Graphics
4 years ago
4 years ago

People

(Reporter: TimAbraldes, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

When building in MSVC, I see a lot of the following 2 errors spammed in the build output


= Warning #1 =
Warning: C4005 in c:\src\mc2\gfx\cairo\cairo\src\cairo-mutex-impl-private.h: 'WIN32_LEAN_AND_MEAN' : macro redefinition
c:\src\mc2\gfx\cairo\cairo\src\cairo-mutex-impl-private.h(180) : warning C4005: 'WIN32_LEAN_AND_MEAN' : macro redefinition
c:\src\mc2\obj\gfx\cairo\cairo\src\../../../../dist/include/mozilla-config.h(122) : see previous definition of 'WIN32_LEAN_AND_MEAN'

= Warning #2 =
Warning: C4146 in c:\src\mc2\gfx\cairo\cairo\src\cairo-wideint-private.h: unary minus operator applied to unsigned type, result still unsigned
c:\src\mc2\gfx\cairo\cairo\src\cairo-wideint-private.h(177) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
Warning: C4146 in c:\src\mc2\gfx\cairo\cairo\src\cairo-wideint-private.h: unary minus operator applied to unsigned type, result still unsigned
c:\src\mc2\gfx\cairo\cairo\src\cairo-wideint-private.h(181) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
You need to log in before you can comment on or make changes to this bug.