Bug 25563 - error C2370: 'CSSValue' : redefinition;
Summary: error C2370: 'CSSValue' : redefinition;
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-05 04:45 PDT by zhonghe.wu
Modified: 2024-03-11 05:41 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhonghe.wu 2009-05-05 04:45:36 PDT
This error is raised on many Win system, when generating file "WebKit\WebKitBuild\obj\WebCore\DerivedSources\CSSValueKeywords.h", script file "WebKit\WebCore\css\makevalues.pl" filed to process "ox0D0A" problem, it just chomp one character "ox0A", so, any blank line, in "CSSValueKeywords.in", is generated a string "CSSValueox0D = xxxx". 

A ugly patch is to modify "makevalues.pl", line 'next if ($_ eq "")' to 'next if ($_ eq || $_ eq "\r" || $_ eq "\n" || $_ eq "\r\n")'.
Comment 1 Mark Rowe (bdash) 2009-05-05 09:32:08 PDT
Why are the line endings in the file not consistent with what your Perl implementation expects?  If you are building with Cygwin Perl in Unix line-ending mode on Windows then you should check out with Cygwin SVN in Unix line-ending mode and this will work just fine.  This is the approach that the instructions for building on Windows take.
Comment 2 Ahmad Saleem 2024-03-11 05:41:33 PDT
This file was replaced with python code:

https://github.com/WebKit/WebKit/commit/ca8aedd3137dc4c62d870bc7985937fc2b380c2a

Marking this as 'RESOLVED WONTFIX'.