2009-01-23 Anders Carlsson <andersca@apple.com>
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jan 2009 20:37:44 +0000 (20:37 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Jan 2009 20:37:44 +0000 (20:37 +0000)
        * Configurations/Base.xcconfig:
        GCC 4.0 build fix.

        * runtime/JSNumberCell.h:
        64-bit build fix.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/Configurations/Base.xcconfig
JavaScriptCore/runtime/JSNumberCell.h

index e458f10..56d35a5 100644 (file)
@@ -1,5 +1,13 @@
 2009-01-23  Anders Carlsson  <andersca@apple.com>
 
+        * Configurations/Base.xcconfig:
+        GCC 4.0 build fix.
+        
+        * runtime/JSNumberCell.h:
+        64-bit build fix.
+
+2009-01-23  Anders Carlsson  <andersca@apple.com>
+
         Reviewed by Sam Weinig.
         
         Turn on -Wmissing-prototypes and fix the warnings.
index d9d1257..4b98904 100644 (file)
@@ -17,12 +17,13 @@ GCC_THREADSAFE_STATICS = NO;
 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
+GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
 GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
 LINKER_DISPLAYS_MANGLED_NAMES = YES;
 PREBINDING = NO;
 VALID_ARCHS = i386 ppc x86_64 ppc64;
 WARNING_CFLAGS = $(WARNING_CFLAGS_$(CURRENT_ARCH));
-WARNING_CFLAGS_BASE = -Wall -W -Wcast-align -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wundef -Wmissing-prototypes;
+WARNING_CFLAGS_BASE = -Wall -W -Wcast-align -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wundef;
 WARNING_CFLAGS_ = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
 WARNING_CFLAGS_i386 = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
 WARNING_CFLAGS_ppc = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
index dbce1c4..d2377aa 100644 (file)
@@ -35,6 +35,8 @@ namespace JSC {
     extern const double NaN;
     extern const double Inf;
 
+    JSValuePtr jsNumberCell(ExecState*, double);
+
 #if !USE(ALTERNATE_JSIMMEDIATE)
 
     class Identifier;
@@ -46,8 +48,6 @@ namespace JSC {
     struct ClassInfo;
     struct Instruction;
 
-    JSValuePtr jsNumberCell(ExecState*, double);
-
     class JSNumberCell : public JSCell {
         friend class JIT;
         friend JSValuePtr jsNumberCell(JSGlobalData*, double);