Open Bug 682139 Opened 8 years ago Updated 8 years ago

Multiple warning C4799 in pixman-mmx.c

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set

Tracking

()

People

(Reporter: RyanVM, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

Been this way since optimizations were re-enabled for pixman.
gfx\cairo\libpixman\src\pixman-mmx.c(166) : warning C4799: function 'to_uint64' has no EMMS instruction
gfx\cairo\libpixman\src\pixman-mmx.c(317) : warning C4799: function 'store8888' has no EMMS instruction
gfx\cairo\libpixman\src\pixman-mmx.c(437) : warning C4799: function 'combine' has no EMMS instruction
This seems to be incorrect warning by compiler and linker...
Whiteboard: [build_warning]
Makoto, so it sounds like the best option is to disable the warning for pixman? Any idea why it only warns on those three functions and not the rest?
(In reply to Ryan VanderMeulen from comment #2)
> Makoto, so it sounds like the best option is to disable the warning for
> pixman? Any idea why it only warns on those three functions and not the rest?

set -wd4799 to MMX_CFLAGS in Makefile.
Do you have any idea why it only warns on those three functions and not the rest?
(In reply to Ryan VanderMeulen from comment #4)
> Do you have any idea why it only warns on those three functions and not the
> rest?

No. As long as I check pixman code, _mm_empty() is always called on all cases.  Maybe, this is compiler bug.
You need to log in before you can comment on or make changes to this bug.