Andrew Chew
2008-Apr-29 22:38 UTC
[theora-dev] Latest SVN checkin to cpu.c broke MSVC build
Here's the errors that I'm seeing: Compiling... cpu.c ..\..\..\lib\cpu.c(93) : error C2414: illegal number of operands ..\..\..\lib\cpu.c(93) : error C2400: inline assembler syntax error in 'first operand'; found '*' ..\..\..\lib\cpu.c(94) : error C2400: inline assembler syntax error in 'opcode'; found '*' ..\..\..\lib\cpu.c(94) : warning C4405: 'mov' : identifier is reserved word ..\..\..\lib\cpu.c(124) : warning C4013: 'oc_cpuid_detect_helper' undefined; assuming extern returning int Patch to fix this is attached. Can someone check it over, though? I really have no clue how the syntax for the different addressing modes in assembly look like, so please double-check what I did to those mov instructions. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cpupatch.patch Url: http://lists.xiph.org/pipermail/theora-dev/attachments/20080429/41b67c4c/attachment.txt