in compiling bitstream.c
Visual Studio 9.0\VC\INCLUDE\sys/stat.inl(55)
error C2466: cannot allocate an array of constant size 0
_STATIC_ASSERT( sizeof(struct stat) == sizeof(struct _stat64i32) );
_STATIC_ASSERT Macro
Evaluate an expression at compile time and generate an error when the result is FALSE.
define _USE_32BIT_TIME_T
再來會出現 link error
修改 makefile.msvc
MACHINE = /machine:WIN32 --> MIPS
LIB_OPTS = /nologo $(MACHINE)
再來build 到 frontend/parse.c (175)
IDLE_PRIORITY_CLASS undefined
WINCE 沒有 SetPriorityClass()
改寫一下就行了 (SetThreadPriority)
define _USE_32BIT_TIME_T
再來會出現 link error
修改 makefile.msvc
MACHINE = /machine:WIN32 --> MIPS
LIB_OPTS = /nologo $(MACHINE)
再來build 到 frontend/parse.c (175)
IDLE_PRIORITY_CLASS undefined
WINCE 沒有 SetPriorityClass()
改寫一下就行了 (SetThreadPriority)
沒有留言:
張貼留言