RESOLVED FIXED 9539
Another case error preventing build
https://bugs.webkit.org/show_bug.cgi?id=9539
Summary Another case error preventing build
Nicholas Shanks
Reported 2006-06-22 00:48:41 PDT
cc1plus: warnings being treated as errors In file included from /Users/nicholas/Projects/Safari/JavaScriptCore/API/JSContextRef.cpp:27: /Users/nicholas/Projects/Safari/JavaScriptCore/API/APICast.h:31: warning: mismatched case in filenames, wanted "UString.h" but found "ustring.h" ** BUILD FAILED **
Attachments
Patch committed as r14969 (930 bytes, patch)
2006-06-22 03:35 PDT, David Kilzer (:ddkilzer)
no flags
Document the Xcode 2.3 requirement (694 bytes, patch)
2006-06-22 09:10 PDT, Alexey Proskuryakov
darin: review+
checkRequiredSystemConfig patch (1.00 KB, patch)
2006-06-22 09:46 PDT, Alexey Proskuryakov
ggaren: review+
David Kilzer (:ddkilzer)
Comment 1 2006-06-22 03:33:52 PDT
Obvious build fix.  Per Maciej, I checked this in without a review. Committed revision 14969.
David Kilzer (:ddkilzer)
Comment 2 2006-06-22 03:35:02 PDT
Created attachment 8960 [details] Patch committed as r14969
Nicholas Shanks
Comment 3 2006-06-22 06:52:27 PDT
Still doesn't build, next error pasted below. Am I the only one who gets these errors? cc1plus: warnings being treated as errors /Users/nicholas/Projects/Safari/JavaScriptCore/API/JSObjectRef.cpp:31: warning: mismatched case in filenames, wanted "Identifier.h" but found "identifier.h" ** BUILD FAILED **
David Kilzer (:ddkilzer)
Comment 4 2006-06-22 07:55:29 PDT
(In reply to comment #3) > Still doesn't build, next error pasted below. > Am I the only one who gets these errors? Yes, because you're on a case-sensitive filesystem.  Actually, the Linux porters run into this problem as well. > cc1plus: warnings being treated as errors > /Users/nicholas/Projects/Safari/JavaScriptCore/API/JSObjectRef.cpp:31: warning: > mismatched case in filenames, wanted "Identifier.h" but found "identifier.h" > ** BUILD FAILED ** Please go through and fix ALL of the errors until it compiles, then create a patch and post it to this bug.
Nicholas Shanks
Comment 5 2006-06-22 08:17:30 PDT
I'm not on a case sensitive file system! I've just got a bog standard HFS+ disk, exactly the same as you. I am also using a bog standard svn checkout, with no changes to the build system. The only thing I can think it might be is GCC. my version is: powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc. build 5026) What are you using?
Alexey Proskuryakov
Comment 6 2006-06-22 09:10:29 PDT
Created attachment 8967 [details] Document the Xcode 2.3 requirement Shouldn't we just document that WebKit needs at least Xcode 2.3? With new features being used, such as DWARF debug symbols and better support for path quoting, it is not really compatible with 2.2 anyway.
Darin Adler
Comment 7 2006-06-22 09:30:20 PDT
Comment on attachment 8967 [details] Document the Xcode 2.3 requirement Looks good. But we should also change the checkRequiredSystemConfig function in webkitdirs.pm, so you'll get a good error message if you try to build.
Alexey Proskuryakov
Comment 8 2006-06-22 09:46:19 PDT
Created attachment 8968 [details] checkRequiredSystemConfig patch
Geoffrey Garen
Comment 9 2006-06-22 12:39:00 PDT
Comment on attachment 8968 [details] checkRequiredSystemConfig patch r=me
Alexey Proskuryakov
Comment 10 2006-06-22 21:45:59 PDT
Looks like the option to warn about wrong filename case has disappeared from Xcode, that's why others are not seeing the problem. I've committed a fix for Identifier.h; since it's the only remaining failure that was reported, I'm closing this bug.
Note You need to log in before you can comment on or make changes to this bug.