30 Apr 00:36
Latest SVN checkin to cpu.c broke MSVC build
From: Andrew Chew <andrew <at> okashistudios.com>
Subject: Latest SVN checkin to cpu.c broke MSVC build
Newsgroups: gmane.comp.multimedia.ogg.theora.devel
Date: 2008-04-29 22:38:50 GMT
Subject: Latest SVN checkin to cpu.c broke MSVC build
Newsgroups: gmane.comp.multimedia.ogg.theora.devel
Date: 2008-04-29 22:38:50 GMT
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.
Index: cpu.c
===================================================================
--- cpu.c (revision 14814)
+++ cpu.c (working copy)
@@ -90,8 +90,8 @@
pushfd
pop eax
popfd
- mov *_eax,eax
- mov *_ebx,ebx
+ mov [_eax],eax
(Continue reading)
RSS Feed