Open Bug 902815 Opened 11 years ago Updated 2 years ago

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

Categories

(Core :: Graphics, defect)

x86_64
Windows 8
defect

Tracking

()

People

(Reporter: TimAbraldes, Unassigned)

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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.