[webkit-dev] Build error(error C2220: warning treated as error - no 'object' file) on Win XP with VS2005

Brent Fulgham bfulgham at gmail.com
Tue Mar 25 20:41:39 PDT 2008


Hi Bo,

On Mar 25, 2008, at 3:19 PM, Wave Zhang wrote:

> ------ Build started: Project: QTMovieWin, Configuration: Release  
> Win32 ------
> Performing Pre-Build Event...
> Compiling...
> QTMovieWin.cpp
> C:\Program Files\QuickTime SDK\cincludes\ConditionalMacros.h : error  
> C2220: warn
> ing treated as error - no 'object' file generated
> C:\Program Files\QuickTime SDK\cincludes\ConditionalMacros.h :  
> warning C4819: Th
> e file contains a character that cannot be represented in the  
> current code page
> (936). Save the file in Unicode format to prevent data loss

This might be caused by line ending issues; if you are using something  
like TortoiseSVN to grab the sources, you may need to pass them  
through d2u to make sure the line endings are correct.

-Brent



More information about the webkit-dev mailing list